< Back

Get-VMHostProfileVmPortGroupConfiguration

Sun Jan 19, 2020 6:56 pm

NAME Get-VMHostProfileVmPortGroupConfiguration



SYNOPSIS

Retrieves the virtual machine port group configuration for the given host profile.





SYNTAX

Get-VMHostProfileVmPortGroupConfiguration [-HostProfile] <VMHostProfile[]> [[-PortGroupName] <String[]>] [-Server

<VIServer[]>] [<CommonParameters>]





DESCRIPTION

Retrieves the virtual machine port group configuration for the given host profile.





PARAMETERS

-HostProfile <VMHostProfile[]>

Specifies the virtual machine host profile.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



-PortGroupName <String[]>

Specifies the port group name that is unique for the host profile. The port group name can be passed to filter

results for the particular port group.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Server <VIServer[]>

Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is passed to this

parameter, the command runs on the default servers. For more information about default servers, see the

description of the Connect-VIServer cmdlet.



Required? false

Position? named

Default value None

Accept pipeline input? True (ByValue)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfile[]





VMware.VimAutomation.ViCore.Types.V1.VIServer[]







OUTPUTS

VMware.VimAutomation.ViCore.Types.V1.Host.Profile.VMHostProfileVmPortGroupConfiguration[]







NOTES









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



PS C:\\> Get-VMHostProfileVmPortGroupConfiguration -HostProfile 'Host_Profile'



Retrieves all virtual machine port group configurations within the host profile named Host_Profile.



RELATED LINKS

Online Version: https://code.vmware.com/doc/preview?id= ... Input.html

Set-VMHostProfileVmPortGroupConfiguration

New-VMHostProfileVmPortGroupConfiguratio

Remove-VMHostProfileVmPortGroupConfiguratio