Showing posts with label Powershell MSI WMI. Show all posts
Showing posts with label Powershell MSI WMI. Show all posts

Tuesday, December 9, 2008

Who needs SMS!!

Install an .MSI package via WMI


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


May the PoSH Be with you,
Powershell Jedi