Skip to content

Instantly share code, notes, and snippets.

Daniel Ruskin DanielRuskin1

Block or report user

Report or block DanielRuskin1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View wsus-update.ps1
Function WSUSUpdate {
$Criteria = "IsInstalled=0 and BrowseOnly=0"
$Searcher = New-Object -ComObject Microsoft.Update.Searcher
try {
$SearchResult = $Searcher.Search($Criteria).Updates
if ($SearchResult.Count -eq 0) {
Write-Output "There are no applicable updates."
exit
}
else {
View gist:c75e57fd71d4654b54f4
### Keybase proof
I hereby claim:
* I am danielruskin1 on github.
* I am daniel_ruskin (https://keybase.io/daniel_ruskin) on keybase.
* I have a public key whose fingerprint is CAE1 078A C9F6 8657 6C91 C11D 32B3 1578 1A15 E9C6
To claim this, I am signing this object:
View gist:1b6d84893948be189f69
### Keybase proof
I hereby claim:
* I am danielruskin1 on github.
* I am daniel_ruskin (https://keybase.io/daniel_ruskin) on keybase.
* I have a public key whose fingerprint is 8088 8C2F 68D7 9F99 837A 0B8E CED0 2540 063A 2FEF
To claim this, I am signing this object:
You can’t perform that action at this time.