-
-
Save invokethreatguy/2ac5155c84c5c147b19efd92865ff159 to your computer and use it in GitHub Desktop.
Credential Guard checker Powershell
This file contains hidden or 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
$DevGuard = Get-CimInstance –ClassName Win32_DeviceGuard –Namespace root\Microsoft\Windows\DeviceGuard | |
if ($DevGuard.SecurityServicesConfigured -contains 1) {"Credential Guard configured"} | |
if ($DevGuard.SecurityServicesRunning -contains 1) {"Credential Guard running"} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment