PowerTip: Identify if CredentialGuard is enabled with Windows PowerShell

Summary: Easily identify if is enabled using the Get-ComputerInfo Cmdlet in Windows 10

A picture containing scissors Description automatically generated

Question: Hey Doctor Scripto, how can I tell if CredentialGuard has been enabled on my Windows 10 computer?

Answer: Just use the Get-ComputerInfo Cmdlet and target the DeviceGaurdSecurityServicesConfigured property. The following line will produce a Boolean $TRUE if it is enabled.

‘CredentialGuard' -match ((Get-ComputerInfo).DeviceGuardSecurityServicesConfigured)

PowerShell, Doctor Scripto, PowerTip, , Paul Greeley

The post PowerTip: Identify if CredentialGuard is enabled with Windows PowerShell appeared first on Scripting Blog.

 

This article was originally published by Microsoft's SQL Server Blog. You can find the original article here.