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:
Here are the explanations of the preceding cmdlets.
In the first Export-VMHostProfile ...
Get Mastering PowerCLI now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.