minor formatting tweak

This commit is contained in:
John Bowdre 2023-02-17 13:21:53 -06:00
parent 0f170fc9fc
commit ac1f90c800

View file

@ -38,7 +38,8 @@ $secureBoot2022VMs = foreach($datacenter in (Get-Datacenter)) {
$datacenter | Get-VM | $datacenter | Get-VM |
Where {$_.Guest.OsFullName -Match 'Microsoft Windows Server 2022' -And $_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled} | Where {$_.Guest.OsFullName -Match 'Microsoft Windows Server 2022' -And $_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled} |
Select @{N="Datacenter";E={$datacenter.Name}}, Select @{N="Datacenter";E={$datacenter.Name}},
Name, @{N="Running OS";E={$_.Guest.OsFullName}}, Name,
@{N="Running OS";E={$_.Guest.OsFullName}},
@{N="Secure Boot";E={$_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled}}, @{N="Secure Boot";E={$_.ExtensionData.Config.BootOptions.EfiSecureBootEnabled}},
PowerState PowerState
} }