Source Code and Samples

Friday 9 February 2007

Installing Applications Locally or remotely (PowerShell and WMI)

Description

Installing Applications Locally or remotely.

DataSource

(Get-WMIObject -ComputerName PC01 -List Where-Object -FilterScript {$_.Name -eq "Win32_Product"}).InvokeMethod("Install","\\AppSrv\dsp\NewPackage.msi")

No comments: