powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-VMHostProfile



NAME
Get-VMHostProfile

SYNOPSIS
Retrieves the available host profiles.

SYNTAX
Get-VMHostProfile [[-Name] ] [-Description ] [-Entity ] [-ReferenceHost t[]>] [-Id ] [-Server ] []


DESCRIPTION
Retrieves the available host profiles. A host profile encapsulates the host settings and helps to manage the host c
onfiguration.


PARAMETERS
-Name
Specify the names of the host profiles you want to retrieve.

Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Description
Specify a phrase from the description of the host profiles you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Entity
Specify inventory objects associated with the host profiles you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true

-ReferenceHost
Specify the reference hosts of the profiles you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Id
Specify the Ids of the host profiles you want to retrieve.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? true

-Server
Specify the vSphere servers on which you want to run the cmdlet. If no value is given to this parameter, the co
mmand runs on the default servers. For more information about default servers, see the description of Connect-V
IServer.

Required? false
Position? named
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? true


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
VMHostProfile


NOTES




-------------- Example 1 --------------

C:\PS>Get-VMHostProfile -Name Profile


Retrieves the virtual machine host profile named Profile.






RELATED LINKS
Online version: http://www.vmware.com/support/developer/PowerCLI/PowerCLI501/html/Get-VMHostProfile.html
Apply-VMHostProfile
Export-VMHostProfile
Import-VMHostProfile
New-VMHostProfile
Remove-VMHostProfile
Set-VMHostProfile
Test-VMHostProfileCompliance