I have a unique situation, here is what i would like to do, unfortunatley not too skilled with PS.
Every time a message ID 10800 is generated
(10800 Informational Advanced Client The SMS Advanced client was installed. The current version is %1.)
i would like to check for the left 3 characters of the computer and based on that add it to a specific collection. the collection is a direct membership with OSDAllowed = False, so no one can deploy to that system by mistake.
Any help on how to do this greatly appreciated.
Update:
I actually had to use 10804, which is when the client is assigned. I am sure there is a way for a nicer and cleaner code :-(
<>
<#
Add every new XP client computer to the relevant Site-NoOSD collection based on its name
and filter rule, Genrating message ID 10800, and than 10804, site assigned.
#>
# Import the SCCM server moudle when testing outside SCCM Server
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Hi all
I have a unique situation, here is what i would like to do, unfortunatley not too skilled with PS.
Every time a message ID 10800 is generated
(10800 Informational Advanced Client The SMS Advanced client was installed. The current version is %1.)
i would like to check for the left 3 characters of the computer and based on that add it to a specific collection. the collection is a direct membership with OSDAllowed = False, so no one can deploy to that system by mistake.
Any help on how to do this greatly appreciated.
Update:
I actually had to use 10804, which is when the client is assigned. I am sure there is a way for a nicer and cleaner code :-(
<>
<>
In the filter, script.ps1 %msgsys
Share this post
Link to post
Share on other sites