Last active
December 10, 2015 12:58
-
-
Save JohannesM/8f05e911a18ac1b686a6 to your computer and use it in GitHub Desktop.
Revisions
-
JohannesM renamed this gist
Dec 10, 2015 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
JohannesM created this gist
Dec 10, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,18 @@ --- 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