Skip to content

Instantly share code, notes, and snippets.

@kayasax
Last active Aug 29, 2015
Embed
What would you like to do?
powershell SCCM automation
$UIResource = New-Object -ComObject UIResource.UIResourceMgr
#list available software
$UIResource.GetAvailableApplications() | select ID,PackageID,PackageName
#install a soft
$UIResource.ExecuteProgram('*','CT1005EE',$true) # ID, PackageID, execute after download
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment