Added hostname to appdiff warning

This commit is contained in:
Zachary Gorman 2025-05-06 15:25:08 -07:00
parent 78efcd863f
commit 42455ff903

View file

@ -49,7 +49,7 @@ function Get-AppDiff {
} }
Write-Progress -Activity "Filtering out standard apps from $pc" -Status "Checking $app" -PercentComplete (($appi * 90 / $apps.Length) + 10) -ParentId 1 Write-Progress -Activity "Filtering out standard apps from $pc" -Status "Checking $app" -PercentComplete (($appi * 90 / $apps.Length) + 10) -ParentId 1
if ($output.Length -eq 0) { Write-Warning "No non-standard apps found" } if ($output.Length -eq 0) { Write-Warning "No non-standard apps found on $pc" }
if($TableView){ if($TableView){
$output | Out-GridView -Title "Get-PC Apps - $pc" $output | Out-GridView -Title "Get-PC Apps - $pc"