I’m trying to run a cmdlet on the SCCM server to start a full scan of a device name.
Running this command on the SCCM server works, but I get a failure in ICON.
Invoke-CMEndpointProtectionScan -DeviceName “{{[“Loop Through Each Asset”].[$item].[shortname]}}” -ScanType Full
Invoke-CMEndpointProtectionScan : The term ‘Invoke-CMEndpointProtectionScan’ is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify
that the path is correct and try again.