Login automatically with current privileges:
Enter-PSSession -computername hostname
Login with different Credentials:
$cred = Get-Credential Domain\username Ender-PSSession -computername hostname -Credential $cred
Login automatically with current privileges:
Enter-PSSession -computername hostname
Login with different Credentials:
$cred = Get-Credential Domain\username Ender-PSSession -computername hostname -Credential $cred