Howto Force remote clients to update their Sccm clients Machine Policy Retrieval & Evaluation Cycle via Powershell


Here is some script to force a Sccm Client’s Machine Policy Cycle on remote client in a domain.

But first. You need to be sure you have enable the service “Windows Remote Managment” on that client in the domain.
And be sure you run the script in correct logon context.



$ComputerName = Read-host("Enter The computername")</code>

<code>Invoke-Command -ComputerName $ComputerName -ScriptBlock {
Invoke-WmiMethod -Namespace "Root\CCM" -Class SMS_Client -Name TriggerSchedule -ArgumentList "{00000000-0000-0000-0000-000000000021}"

Lämna ett svar

Din e-postadress kommer inte publiceras. Obligatoriska fält är märkta *