vSphere 7 Security Configuration Guide Powercli Menu

Following the release of the vSphere 7 Security guide last October, I thought it was about time I updated my PowerCLI script to speed up compliance checking. My vSphere 6.5 guide was reasonably popular so I’m hoping people will find this equally useful!

Download Here on Gitlab

The script is pretty straightforward and will provide exported CSVs where possible

  1. Select location to save CSVs

  2. Select which cluster you want to run this against

  3. Select which security guideline you want to check

  4. In instances where there is a PowerCLI command that can run, you will be provided with a description of what its checking as well as the results
  5. If it’s not possible to check with PowerCLI, you will be provided with a description following by details on what you should be checking as documented in the guide

To download the original guide from VMware, please go to the following link:


Download Here on Gitlab


2 thoughts on “vSphere 7 Security Configuration Guide Powercli Menu

  1. Hi Tony

    Nice work and thank you.

    however, when executed i receive the following:

    At C:\Apps\VMAUDIT.ps1:941 char:76
    + … able Bundles’ or VIBs, governed by the Acceptance Level (see below). …
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    The string is missing the terminator: ‘.
    At C:\Apps\nigel-vm2.ps1:91 char:1
    + {
    + ~
    Missing closing ‘}’ in statement block or type definition.
    + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

    i have checked the copy/paste into the script and compared from source and all looks good.

    it is disturbing writing in all caps ….!

Leave a Reply

Your email address will not be published. Required fields are marked *

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