keebz

Enable WinRM Remotely

Feb 17th, 2015
361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "winrm quickconfig"
  2. psexec \\[computer name] -u [admin account name] -p [admin account password] -h -d powershell.exe "enable-psremoting -force"
Advertisement
Add Comment
Please, Sign In to add comment