Pivoting Windows (PowerShell)
PowerShell
powershellhostname$user = "Sniper\Chris"$password = ConvertTo-SecureString '36mEAhz/B8xQ~2VM' -AsPlainText -Force$cred = New-Object System.Management.Automation.PSCredential($user, $password)Invoke-Command -Credential $cred -ComputerName Sniper -ScriptBlock {whoami}

Mis à jour