You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
UWPHook/UWPHook/Resources/GetAUMIDScript.txt

20 lines
521 B
Plaintext

$installedapps = get-AppxPackage
$aumidList = @()
foreach ($app in $installedapps)
{
try {
foreach ($appx in (Get-AppxPackageManifest $app))
{
$aumidList += $appx.Package.Applications.Application.VisualElements.DisplayName + " | "+
$app.packagefamilyname + "!" + $appx.package.applications.application.id + ";"
}
} catch {
$ErrorMessage = $_.Exception.Message
$FailedItem = $_.Exception.ItemName
}
}
$aumidList;