Created
February 5, 2018 13:04
-
-
Save frayos/69fe2f3fa1990478f26c289baf7ca083 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