mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 02:13:43 +00:00
Merge pull request #7138 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/windows-itpro-docs (branch public)
This commit is contained in:
@ -219,7 +219,7 @@ Requirements:
|
||||
|
||||
4. Rename the extracted Policy Definitions folder to `PolicyDefinitions`.
|
||||
|
||||
5. Copy the PolicyDefinitions folder to `\\SYSVOL\contoso.com\policies\PolicyDefinitions`.
|
||||
5. Copy the PolicyDefinitions folder to `\\contoso.com\SYSVOL\contoso.com\policies\PolicyDefinitions`.
|
||||
|
||||
If this folder doesn't exist, then you'll be switching to a [central policy store](/troubleshoot/windows-client/group-policy/create-and-manage-central-store) for your entire domain.
|
||||
|
||||
|
@ -25,6 +25,8 @@ appliesto:
|
||||
|
||||
param([switch]$Capable, [switch]$Ready, [switch]$Enable, [switch]$Disable, $SIPolicyPath, [switch]$AutoReboot, [switch]$DG, [switch]$CG, [switch]$HVCI, [switch]$HLK, [switch]$Clear, [switch]$ResetVerifier)
|
||||
|
||||
Set-StrictMode -Version Latest
|
||||
|
||||
$path = "C:\DGLogs\"
|
||||
$LogFile = $path + "DeviceGuardCheckLog.txt"
|
||||
|
||||
@ -796,7 +798,13 @@ function CheckOSArchitecture
|
||||
|
||||
function CheckSecureBootState
|
||||
{
|
||||
$_secureBoot = Confirm-SecureBootUEFI
|
||||
try {
|
||||
$_secureBoot = Confirm-SecureBootUEFI
|
||||
}
|
||||
catch
|
||||
{
|
||||
$_secureBoot = $false
|
||||
}
|
||||
Log $_secureBoot
|
||||
if($_secureBoot)
|
||||
{
|
||||
|
Reference in New Issue
Block a user