Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save RedTeams/9e4b114a053514183169c24631110881 to your computer and use it in GitHub Desktop.
Save RedTeams/9e4b114a053514183169c24631110881 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