Syntax
Get-HCXNetworkProfile [[-Name] <String[]>] [-Server <HcxServer[]>] [-Site <HCXSite>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet retrieves a list of HCX Network Profiles.Parameters
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | Specifies the name of the HCX Network Profile. | false | False | |
Server | HcxServer[] | Specifies the HCX Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of the Connect-HCXServer cmdlet. | false | False | |
Site | HCXSite | Specifies the HCX site for which you want to list the Network Profiles. If this parameter is not specified, the default one is selected from the source site. | false | True (ByValue) |
Return Type
VMware.VimAutomation.Hcx.Types.V1.HCXNetworkProfileNotes
Examples
-------------------------- Example 1 --------------------------
PS C:\> Get-HCXNetworkProfile
Retrieves a list of HCX Network Profiles.
-------------------------- Example 2 --------------------------
PS C:\> Get-HCXNetworkProfile -Name "myNetworkProfile"
Retrieves list of network profiles filtered by Name.
-------------------------- Example 3 --------------------------
PS C:\> $destination = Get-HCXSite -Destination Get-HCXNetworkProfile -Site $destination
Retrieves a list of the HCX Network Profiles from the destination site.