mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 18:33:43 +00:00
Merge pull request #10867 from rafalfitt/patch-1
Update dg-readiness-tool.md
This commit is contained in:
@ -796,7 +796,13 @@ function CheckOSArchitecture
|
|||||||
|
|
||||||
function CheckSecureBootState
|
function CheckSecureBootState
|
||||||
{
|
{
|
||||||
$_secureBoot = Confirm-SecureBootUEFI
|
try {
|
||||||
|
$_secureBoot = Confirm-SecureBootUEFI
|
||||||
|
}
|
||||||
|
catch
|
||||||
|
{
|
||||||
|
$_secureBoot = $false
|
||||||
|
}
|
||||||
Log $_secureBoot
|
Log $_secureBoot
|
||||||
if($_secureBoot)
|
if($_secureBoot)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user