Policy reset (Hard)

  • Prem Saagar

    Prem Saagar - 2010-10-11

    Hi Roger,

    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.

    Prem Saagar.S

  • Roger

    Roger - 2010-11-14

    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 ?




Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks