Remote Powershell

Login automatically with current privileges:

Enter-PSSession -computername hostname

Login with different Credentials:

$cred = Get-Credential Domain\username
Ender-PSSession -computername hostname -Credential $cred

Leave a Reply

Your email address will not be published. Required fields are marked *