• Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy
Cybersylum

Cybersylum

  • Home
  • VMware QuickDocs
    • Getting Started with VMware Cloud Foundation
    • VMware General
    • vSphere
    • vSAN
    • Horizon
    • NSX
    • vRealize Suite (renamed to Aria Suite)
    • Aria Suite
      • Aria Automation
      • Aria Operations
      • Aria Operations for Logs
      • Aria Automation Orchestrator
    • Podcasts
  • Home Lab
  • VMware Stickers
  • mac OS Tips
  • About Me
    • Privacy Policy
    • Cookie policy

Identify VMware ESX Hosts and VMs using Secure Boot

byArron King 02.21.2026 Aria Automation

You may need to identify VMware ESX Hosts and VMs that use Secure Boot in your environment.  This can be helpful for a number of reasons:

  • Environment Audit – are there any assets that should be using Secure Boot –  but are not?
  • Inventory list – Having a list of assets that are using Secure Boot can help build a reference list should the need arise to make updates to the Secure Boot configuration

There are two primary means to do this:

  • Aria Operations / VCF Operations – With a little work and help from an open-source management pack you can build a dashboard that will identify these assets
  • PowerCLI – PowerCLI  can be used to quickly and easily extract this information and format it in any way you like

Aria Operations / VCF Operations

What is the difference between Aria Operations and VCF Operations?
These are different names for the same product. The name changed as the product has evolved over time.  The name of this tool you use will depend on the version you are running and how long you have been working with it #Team-vROPs 😉

vCenter Operations Manager / vCOPs 5.x
vRealize Operations / vROPs 6.0
Aria Operations /  Aria Ops 6.5 – 8.x
VMware Cloud Foundation Operations / VCF Ops 9.x

Brock Peterson has written an excellent article on how to use Operations to list VMs and Hosts using Secure boot.  It uses an open-source management pack called vCommunity Management Pack.  I won’t repeat his work; but do want to highlight some considerations:

  • VCF Operations 9.x can display information about both Host and VM Secure Boot configurations
  • If you are still on Aria Operations 8.x – you will only see VM Secure Boot status.  This version of Operations does not have the Host properties required to detect Secure Boot.
  • The properties are disabled by default in both versions of Operations.  You will need to enable them before use.
Enabling Secure Boot Properties in Aria Operations 8.x

Reminder:  Only the VM Secure Boot properties are available in this version of Operations.

Navigate to Operations ➡️  Configurations ➡️  Policy Definition  and select the Active Policy (in my example this is vSphere Solution’s Default Policy)

Locate the Active Operations Policy

Select the Active Policy Name, then click the 3-dot menu (at the top of the page) and select Edit  ➡️ Metrics and Properties.

Select Object Type:   ➡️  Virtual Machine.

Filter for Secure Boot and Drill down into Properties

VM Secure Boot Property

The property in my environment was already enabled and does not need to be changed.  If it shows as Disabled in your environment, click the drop down arrow and change it to Enabled and then click the Save button on the bottom of the page.

Enabling Secure Boot Properties in VCF Operations 9.x

Note:  These steps work for both a Minimal VCF Installation (vSphere, ESXi,  Operations) as well as the full VCF Stack.

Navigate to Infrastructure Operations ➡️  Configurations ➡️  Policy Definition.  Select the Active Policy (in this example that is vSphere Solution’s Default Policy)

Find the Active Policy Definition

Select the Active Policy Name, then click the 3-dot menu and select Edit  ➡️ Metrics and Properties.

Edit Active Policy Definition

 

For Operations 9, there are 2 properties to review for active status (Host and Virtual Machine)

Host Property

Filter for Secure and then Drill into vCenter ➡️ Host System Properties  and ensure the setting for Is Require Secure Boot Enabled is set to Activated.  If it is not, click the drop down and choose Activated.

 

Host Secure Boot Property

 

Virtual Machine Property

Filter for Secure  and then Drill into vCenter ➡️ Virtual Machine Properties  and ensure the setting for EFI Secure Boot Enabled is set to Activated.  If it is not, click the drop down and choose Activated.

VM Secure Boot Property

If you changed either property – remember to hit Save at the bottom of the page.

PowerCLI

PowerShell can use any recent version of the PowerCLI module to list out Secure Boot configurations for both ESX Hosts and VMs.

Below are two minimal PowerShell snippets that illustrate the properties you will need.  You can modify this code to export the data to a CSV or any format that is useful to you.

Get Host Secure Boot Status

Connect-VIServer -Server your.vcenter.fqdn -Force
# Get all hosts
$hosts = Get-VMHost
write-host "Found " $hosts.count " ESX hosts."
write-host ""
write-host "The following ESX host(s) use Secure boot:"

foreach ($vmhost in $hosts) {
    # Connect to esxcli for the host
    $esxcli = Get-EsxCli -VMHost $vmhost -V2
    $secureBoot = $esxcli.system.settings.encryption.get.Invoke() | Select -ExpandProperty RequireSecureBoot

    if ($secureBoot -eq "true") {write-host $vmhost}
}

ESX Host Secure Boot Status - PowerShell Script output

Get VM Secure Boot Status
Connect-VIServer -Server your.vcenter.fqdn -Force
$vms = Get-VM
write-host "Found " $vms.count " virtual machines."

foreach ($vm in $vms) {
   $vmView = $vm | Get-View
   if ($vmView.Config.BootOptions.EfiSecureBootEnabled) {
      Write-Host "$($vm.Name) has Secure Boot Enabled"
   }
}

VM Secure Boot Status

Share this:

  • Share on Facebook (Opens in new window) Facebook
  • Share on LinkedIn (Opens in new window) LinkedIn

My Notes - Introduction to Swift

Leave a Reply Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Search

Disclaimer

The content and opinions on this site belong to me - not my employer.

You are welcome to use any ideas or code from this site. You have the responsiblity to test these before using in a production environment.

Upcoming Events

no event

Categories

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10

Archives

Category

Aria Automation Aria Operations for Logs Before I Forget Certificates Education Home Lab Horizon View Importing vSphere Networks into Aria Automation Linux MacOS Networking PowerCLI Professional Development Scripting Swift TechBITS Tech Learning Update Manager VCSA VMUG VMware VMware Cloud on AWS VMware Portal VMware Tools VMworld vSphere vToolBelt Windows 10
Proudly powered by WordPress | Theme: Showme by NEThemes.
 

Loading Comments...