PowerShell: Perform Windows Discovery of Services, Connections, and Security Settings
# windowsDiscovery.ps1 function checkSpectreVulnerability($computer=$env:computername){ $command={ $patchedVersion="10.0.14393.2842" $actualVersion=(Get-Item C:\Windows\system32\mcupdate_genuineintel.dll | select VersionInfo).VersionInfo.ProductVersion $intelDllPatched=[version]$actualVersion -ge [version]$patchedVersion <#…
0 Comments