I use a tool to login to remote PC. All my actions in remote PC will be executed by System.
My tool can executes batch and PS script.
If I run (Get-WMIOb
(Get-WMIOb