I can successfully create a remote session using Enter-PSSession to a server SRV_A from a computer MyComputer. Inside this session if I execute the cmdlet Get-Service -ComputerName ComputerB, I get the error “Cannot open Service Control Manager on computer ‘ComputerB’. This operation might require other privileges.”. But when I do the cmdlet “Get-Service -ComputerName ComputerB” from a Powershell session directly on SRV_A, it runs correctly. Of course I use the same user to create the remote session (cmdlet Enter-PSSession) than when I log directly on SRV_A. All machines have Powershell 4.0 installed and SRV_A and ComputerB are in the same domain.
What is wrong? Can we not use a “Get-Service -ComputerName xxx” inside a Remote Powershell Session? Do we get not exactly the same right from a Remote Powershell Session than a “normal” Powershell Session with the same user?
Thank you for any help