Tag Archives: WMI

PowerShell – Send Commands to Remote Machines Without WinRM or psexec

Invoke-WmiMethod -ComputerName "$machine" -Path "Win32_Process" -Name "create" -ArgumentList "c:\windows\system32\notepad.exe"
Advertisements