系统自带的powershell需要
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope LocalMachine
通过 Get-ExecutionPolicy -List可以确认
Enable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool
You can also enable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool.
DG_Readiness_Tool.ps1 -Enable -AutoReboot
Disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool
You can also disable Windows Defender Credential Guard by using the HVCI and Windows Defender Credential Guard hardware readiness tool.
DG_Readiness_Tool_v3.6.ps1 -Disable -AutoReboot