Skip to content

Instantly share code, notes, and snippets.

@JohannesM
Last active December 10, 2015 12:58
Show Gist options
  • Save JohannesM/8f05e911a18ac1b686a6 to your computer and use it in GitHub Desktop.
Save JohannesM/8f05e911a18ac1b686a6 to your computer and use it in GitHub Desktop.
--- Get-WUList.ps1 2015-12-10 13:38:26.000000000 +0100
+++ Get-WUList-new.ps1 2015-12-10 13:32:28.000000000 +0100
@@ -574,6 +574,7 @@
If($Update.IsHidden) {$Status += "H"} else {$status += "-"}
If($Update.IsUninstallable) {$Status += "U"} else {$status += "-"}
If($Update.IsBeta) {$Status += "B"} else {$status += "-"}
+ If($Update.BrowseOnly) {$Status += "O"} else {$status += "-"}
Add-Member -InputObject $Update -MemberType NoteProperty -Name ComputerName -Value $Computer
Add-Member -InputObject $Update -MemberType NoteProperty -Name KB -Value $KB
@@ -599,7 +600,7 @@
} #End If Test-Connection -ComputerName $Computer -Quiet
} #End Foreach $Computer in $ComputerName
- Return $UpdateCollection
+ Return $UpdateCollection | Format-Table -Wrap -AutoSize
} #End Process
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment