Remotely trigger Machine Evaluation Policy in SCCM

To remotely trigger a machine evaluation policy in SCCM, you can use several methods, including PowerShell scripts, the SCCM console, and third-party tools like BatchPatch. Here are some options:

1. PowerShell Method:

  • You can use PowerShell to invoke SCCM client actions remotely. For example, to trigger the Machine Policy Retrieval & Evaluation Cycle, use the following command:

powershell

Invoke-WMIMethod -ComputerName <computerName> -Namespace root\ccm -Class SMS_CLIENT -Name TriggerSchedule "{00000000-0000-0000-0000-000000000022}"

Replace <computerName> with the target computer’s name.

    2. SCCM Console:

    • You can trigger actions directly from the SCCM console. Select a collection, go to “Client Notification,” and choose “Download Computer Policy” to initiate the policy retrieval and evaluation cycle.

    3. BatchPatch Tool:

    • BatchPatch allows you to trigger SCCM client actions remotely with ease. Simply highlight the target computers, select ‘Tools > SCCM client triggers,’ and choose the desired task.

    4. WMIC Method (deprecated):

    • Although deprecated, you can still use WMIC for triggering actions. For example, to trigger the Machine Policy Evaluation Cycle, use:

      bash

      wmic /node:<computerName> /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000022}" /NOINTERACTIVE

      Replace <computerName> with the target computer’s name.

        These methods provide flexibility in managing SCCM client actions remotely, allowing you to perform evaluations and other tasks as needed.

        Leave a Reply

        Your email address will not be published. Required fields are marked *