Am new to sccm and scripting, i need a script to reset the policy (Hard) to more than 600 workstations, could you please help me out, i need to perform this to more machine at a time, in my office collection commander does not works, looking forward to hear from you.
All the functions from the client center Tool are part of the smsclictr.automation.dll library.
With PowerShell it's not so hard to access the .net library.
Some examples are in the documentation <http://smsclictr.sourceforge.net/smsclictr.automation/>:
$SMSClient = New-Object -TypeName smsclictr.automation.SMSClient("workstation01")
Or you can create a SoftwarePackage that runs the following command on your clients:
"WMIC /Namespace:\\root\ccm path SMS_Client CALL ResetPolicy 1 /NOINTERACTIVE"
it's from the result close to the Hard-Reset from Client Center…
Why does Collection Commander not work in your environment ?
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.