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
function Test-PrintNightmareVulnerability { | |
<# | |
.SYNOPSIS | |
Tests whether the target system is vulnerable to the PrintNightmare vulnerability. | |
.DESCRIPTION | |
Tests whether the target system is vulnerable to the PrintNightmare vulnerability. | |
Uses PowerShell remoting. | |
This checks whether vulnerable GPO/registry settings are applied. |