PowerCLI

 View Only
  • 1.  Host Profile extraction

    Posted Oct 07, 2025 10:30 AM

    Hello everyone,

    Looking to find a simple way to extract the settings from any given host profile and output to a document like an Excel spreadsheet.

    Im looking to apply the hardening template from VMware for ESXi 8.x (or some of it) to our profiles but would like an overall view of the current settings on the current profile on the clusters. Im thinking someone with PowerCLI skills may have an answer :)

    How do other admins out there do such a task?

    Thanks all :)

    Mark



    -------------------------------------------


  • 2.  RE: Host Profile extraction

    Posted Oct 09, 2025 01:00 PM

    I was looking for a way to extract Host Profile setting and found this:
    Get-VMHostProfile -Name "profile01" | Export-VMHostProfile -path "$env:\Desktop\profile01.json"
    You can change to a human readable format (plain text or csv) using NPP.

    -------------------------------------------



  • 3.  RE: Host Profile extraction

    Posted Oct 09, 2025 01:03 PM

    I was looking for a way to find how to extract information of a host profile then I found this
    The data format is not human readable. you should change it in NotePad ++

    Get-VMHostProfile -Name "profile01" | Export-VMHostProfile -FilePath "$env:USERPROFILE\Desktop\hostprofile.json"

    -------------------------------------------