Forked from pryorda/gist:7f832c90db23a4e13f6f0aa5bc5202e2
Created
August 5, 2022 16:35
-
-
Save RedTeams/9e4b114a053514183169c24631110881 to your computer and use it in GitHub Desktop.
CVE-2019-0708 Commands
This file contains 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 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