O'Reilly logo

Mastering PowerCLI by Sajal Debnath

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing host profiles

In Chapter 3, Deploying vSphere Hosts we touched upon host profile concepts. In this section, we will go more in-depth on the topic. To manage host profiles, we can use the following cmdlets:

  • Export-VMHostProfile
  • Get-VMHostProfile
  • Get-VMHostProfileRequiredInput
  • Import-VMHostProfile
  • Invoke-VMHostProfile
  • New-VMHostProfile
  • Remove-VMHostProfile
  • Set-VMHostProfile
  • Test-VMHostProfileCompliance

We have already checked how we can utilize the New-VMHostProfile, Get-VMHostProfile, and Invoke-VMHostProfile cmdlets.

Here is a set of examples to show you the preceding cmdlets:

Managing host profiles

Here are the explanations of the preceding cmdlets.

In the first Export-VMHostProfile ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required