# Check Windows Defender Application Guard
Get-WindowsOptionalFeature -Online -FeatureName Windows-Defender-ApplicationGuard

# Check Device Guard and Credential Guard hardware readiness
. "C:\NTK\WD\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1" -Capable

# Enable Device Guard and Credential Guard
. "C:\NTK\WD\dgreadiness_v3.6\DG_Readiness_Tool_v3.6.ps1" -Enable

# Restart Computer
Restart-Computer

