how to remotely setup powershell to accept Enter-PSSession

Posted by user1399195 on Super User See other posts from Super User or by user1399195
Published on 2012-08-29T21:31:56Z Indexed on 2012/08/29 21:41 UTC
Read the original article Hit count: 248

Filed under:
|

I have some computers I'm trying to remotely execute powershell commands but I'm running into some snags. For one thing, the computers do not have Enable-PSRemoting enabled so I am unable to simply Enter-PSSession. I tried to run a powershell script through psexec but I have yet to Set-Execution Policy on the machine.

My thoughts were to execute a powershell logon script that accomplished this but before I tried this I was going to see if there were any other methods to enable-psremoting on a machine. Thanks in advance!

© Super User or respective owner

Related posts about Windows

Related posts about powershell