All languages

PowerShell

You're viewing a free preview. Sign in free to read every script.

Why this exists Remote Desktop is heavy: you sign in to the portal, find the VM, open a full desktop and type a password. PowerShell remoting does the same job from one terminal, and works in scripts too. Two commands…

Log In to a Remote Server with Enter-PSSession and Invoke-Command

Open an interactive session on a remote Windows server, or run a command there, from your own machine using PowerShell remoting, with a stored credential, no RDP and no password on screen. Includes the WinRM setup and the security rules for Azure VMs.

Sign in free to read this script, along with the rest of the library.

Sign in free