Dargslan.PrintNightmareAudit

1.0.0

Audit Windows Print Spooler exposure (PrintNightmare): spooler state, Point-and-Print restrictions, unsigned drivers, package install policy.

Minimum PowerShell version

5.1

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Dargslan.PrintNightmareAudit

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Dargslan.PrintNightmareAudit

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) 2026 Dargslan. All rights reserved.

Package Details

Author(s)

  • Dargslan

Tags

printnightmare print-spooler cve-2021-34527 cve-2021-1675 audit windows sysadmin dargslan hardening dfir

Functions

Get-DargslanPrintSpoolerStatus Get-DargslanPrintNightmareConfig Get-DargslanPrinterDrivers Get-DargslanPrintNightmareAuditReport Export-DargslanPrintNightmareAuditReport

Dependencies

  • .NETStandard 2.0

    • No dependencies.

Release Notes

Initial release. Spooler service, Point-and-Print policy keys, RestrictDriverInstallationToAdministrators, unsigned printer driver detection, scoring and HTML / JSON report.

FileList

Version History

Version Downloads Last updated
1.0.0 (current version) 4 4/18/2026