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

E-postadressen publiceras inte. Obligatoriska fält är märkta *

Powershell – Howto remove files and folder that is older than X days

Hello script geeks! Today I want to talk about how you can easiest remove files and folder that is older than X days. You can get use of cmdlet Get-ChildItem to List all files

USMT – Exclude tag does not work

Hi, Have you had an USMT job running and you want to exclude a specific file but it keeps on getting migrated? You check your xml file and see that everything

Deploying Windows To Go

Windows To Go lets you to boot and run Windows 8 (Enterprise) from a USB stick as well as allowing you to connect to your corporate infrastructure from that image.