I am trying to start a CIM session as a non-admin account. I have done the following:
- Added the non-admin account to the "Remote Management Users" group
- Modified the session configuration by running:
Set-PSSessionConfiguration -Name Microsoft.PowerShell -showSecurityDescriptorUI
then adding the non-admin account and giving it Full Control permissions (but Remote Management Users was already added with Full Control permissions and the non-admin account was already added to this group).
The WS-Management service cannot process the request. The WMI service returned an ‘access denied’ error
I am able to run other remote commands as the non-admin account that don’t require a CIM session such as enter-pssession
and Invoke-Command
How can I use a CIM session to run commands remotely as a non-admin account?