Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $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"}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement