Skip to content

Commit 526e3e6

Browse files
authored
Add files via upload
1 parent 8a39260 commit 526e3e6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

AppX/Inventory AppX Packages.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,20 @@ for ($i = 0; $i -lt $AppxSum; $i++) {
7878
if ($AXI.DisplayNameRaw -match '^@') {
7979
$AXI.DisplayNameResolved = [IndirectStrings]::GetIndirectString( $AXI.DisplayNameRaw )
8080
if ($AXI.DisplayNameResolved -eq '') {
81-
Write-Warning "$($AXN): Could not resolve the display name."
81+
Write-Warning "Could not resolve the display name for $($AXN)."
8282
}
8383
} else {
8484
$AXI.DisplayNameResolved = $AXI.DisplayNameRaw
8585
if ($AXI.DisplayNameRaw -match '^ms-resource\:') {
86-
Write-Verbose = 'For the want of an @, a kingdom is lost.'
86+
Write-Verbose "For the want of an `@, a kingdom is lost. $($AXN) has a bad display name."
8787
}
8888
}
8989
} catch {
90-
Write-Verbose "$($AXN): There are no display names associated with this package."
90+
Write-Verbose "There are no display names associated with $($AXN)."
9191
}
9292
}
9393

94-
#Hand over the gather info to the array
94+
#Hand over the info
9595
$AppxIdentities[$i] = $AXI
9696
}
9797

0 commit comments

Comments
 (0)