Hi, @golden alick
Thank you for posting in Microsoft Q&A forum.
Yes, you can trigger Configuration Manager client actions with PowerShell. The Invoke-CMClientAction
cmdlet can be used to invoke client actions on Configuration Manager clients. Here's an example of how to use it to trigger a machine policy retrieval and evaluation cycle:
Invoke-CMClientAction -DeviceName "Computer01" -Action MachinePolicyRetrievalEvalCycle
Replace "Computer01" with the name of the device you want to trigger the action on. You can also use the -CollectionName
parameter to trigger the action on all devices in a collection.
Other available actions include UserPolicyRetrievalEvalCycle
, SoftwareInventoryCycle
, HardwareInventoryCycle
, DiscoveryDataCollectionCycle
, and more. You can find a full list of available actions in the Microsoft documentation.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Add comment".