“We Speak Geek” series June 16-20th, sponsored by Secunia
Lots of great presentations next week from my MVP colleagues.
Register: We Speak Geek
I’ll be presenting on Powershell and ConfigMgr. What scenarios would you like to see? Leave a comment on this post!
Greg
Like this:
Like Loading...
Related
About Greg Ramsey
Greg Ramsey is a Distinguished Engineer for Dell Digital - Services. He has a B.S. in Computer Sciences and Engineering from The Ohio State University and has co-authored many books over the years. Greg is also a board member of the Northwest System Center User Group and the Midwest Management Summit. Greg has been a Microsoft Endpoint Manager (ConfigMgr, Intune) MVP for over 14 years.
Greg,
You mentioned during the “we speak geek” presentation that you still had to play with the XML portion of the application to figure out other things. I noticed you were using [xml] to convert it to something you could work with. I found this one online and will probably save you the trouble:
[Microsoft.ConfigurationManagement.ApplicationManagement.Serialization.SccmSerializer]::DeserializeFromString($_.SDMPackageXML,$True) where $_ is one application. Meaning you could do:
$CMApps = Get-CMApplication | %{ [Microsoft.ConfigurationManagement.ApplicationManagement.Serialization.SccmSerializer]::DeserializeFromString($_.SDMPackageXML,$True) }
Then checking if the apps is task sequence enabled is as easy as $CMApps | AutoInstall -eq $false | Select-Object Title
or checking the deployment type requisites $CMApps[20].DeploymentTypes.Requirements.Name -Like “Windows Servers*” …etc.
Hope that helps,
Marlon