Quantcast
Channel: The Cloud is a neighborhood
Viewing all articles
Browse latest Browse all 91

Cheat for PowerShell connecting to remote machine

$
0
0
Yes I know, it's quite easy to connect against a remote machine to run PowerShell. But I am not doing it on a regular basis so I always forget: Enter-PSSession -ComputerName COMPUTER -Credential USER So to make my life easier I have created a really easy script with a shortcut on my desktop, that just ask for remote computer name and my password. Script: $RemoteMachine = Read-Host -Prompt "

Viewing all articles
Browse latest Browse all 91

Trending Articles