Skip to content

Instantly share code, notes, and snippets.

@pryorda
Last active August 5, 2022 16:35
Show Gist options
  • Save pryorda/7f832c90db23a4e13f6f0aa5bc5202e2 to your computer and use it in GitHub Desktop.
Save pryorda/7f832c90db23a4e13f6f0aa5bc5202e2 to your computer and use it in GitHub Desktop.
CVE-2019-0708 Commands
# Get Computer List
# Get-ADComputer -Filter {(OperatingSystem -like "*windows*")} | select DNSHostName | ConvertTo-Csv -NoTypeInformation | % { $_ -replace '"', ''} | out-file .\ComputerList.txt
# Download Checker : https://github.com/fourtwizzy/CVE-2019-0708-Check-Device-Patch-Status
#. ./Get-TermDDVersion.ps1
# $Servers = Get-Content .\ComputerList.txt
# Get-TermDDVersion -ComputerName $Servers | select Computer,FQDN,OS,Patched,ExpectedVersion,ActualVersion,UpTime,Message | Export-Csv .\$(Get-Date -Format "yyyy-MMdd")-CVE-2019-0708-PatchStatus.csv -NoTypeInformation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment