How to trigger Configuration Manager Client Scan using Powershell

PS can be used to trigger scans on client using command Invoke-WMIMethod. This can be done locally or remote.

If you are triggering on local machine, -ComputerName $Server can be skipped. $Server – name of machine where you wish to trigger scan.