Last active
August 28, 2019 15:07
-
-
Save codaamok/3b4742108ebf80c253bb8678865d499e to your computer and use it in GitHub Desktop.
If you use the Windows Admins GitHub CI to deprovision some Windows 10 apps you can use this to get all the DisplayName values of only those that are enabled: https://github.com/winadminsdotorg/SystemCenterConfigMgr/blob/master/Compliance%20Settings/CIs/Client%20Configuration/CB%20-%20Deprovisioned%20AppX%20via%20PoSh.cab
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Get-CMConfigurationItem | Where-Object { $_.LocalizedDisplayName -like "CI - Deprovisioned AppX -*" -And $_.InUse -eq $true } | Select-Object LocalizedDisplayName,@{Name="AppName";Expression={[Regex]::Matches($_.SDMPackageXML,"\`$_\.DisplayName -Match ('.+')").Groups[1].Value}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment