Last active
December 10, 2015 12:58
-
-
Save JohannesM/8f05e911a18ac1b686a6 to your computer and use it in GitHub Desktop.
Get-WUList.ps1 by Michal Gajda https://gallery.technet.microsoft.com/scriptcenter/2d191bcd-3308-4edd-9de2-88dff796b0bc
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-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