Can we perform Invoke-Command in a PowerShell script performed by SYSTEM account of the "Task Scheduler"?
Yes, please add your computer accounts as local administrator group of the destination computer.
Source computer: OPSDC02
Target computer: OPSWS01
1. Add the OPSDC02 computer account into the local administrator group of OPSWS01 as the following.
2. Now, the SYSTEM account can run the PowerShell script that with Invoke-Command -ComputerName on the destination computer, OPSWS01.
This posting is provided “AS IS” with no warranties, and confers no rights!