mgeeky-Penetration-Testing-.../social-engineering/Invoke-Command-Cred-Example.ps1
2018-02-02 22:22:43 +01:00

1 line
189 B
PowerShell

Invoke-Command 192.168.56.102 -Cred (New-Object -Type System.Management.Automation.PSCredential -ArgumentList "ieuser", $(ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force)) {ipconfig}