I need to run PowerShell or PowerShell_ISE as the local System account, but when running under that account, none of the standard commands are recognized. Some examples are Get-Localgroup. In the included screenshot, the window on the right is with my regular account, and on the left is with system account. How can I get PowerShell to recognize these commands under the system account? In the interim, I am going to see if I can leverage ServiceUI to try and bring PowerShell if that helps. What is odd, is that typically, unless I am wrong, processes running under the system account, run in session 0. When I look at the task manager it is running under session 4. Not sure if that matters, but thought to mention it.
Researching reasons for the issue
xavier Scott is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.