Problem scenario
You run a PowerShell command with a user who is not a local administrator on the server. You get the error “Cannot connect to CIM server: Access is denied”. How do you circumvent this error?
Possible solution #1
Make the user a local administrator. Then try again.
Possible solution #2
Use JEA to allow the user to run the command.
…