https://www.powershellgallery.com/packages/PrintNightmareMitigations/1.0.1
PowerShell Gallery | PrintNightmareMitigations 1.0.1
Tests or applies PrintNightmare (CVE-2021-34527) registry mitigations to the current system.
powershell galleryprintnightmaremitigations