Get-HVvCenterServer¶
SYNOPSIS¶
Gets a list of all configured vCenter Servers
SYNTAX¶
Get-HVvCenterServer [[-HvServer] <Object>] [[-Name] <String>] [<CommonParameters>]
DESCRIPTION¶
Queries and returns the vCenter Servers configured for the pod of the specified HVServer.
EXAMPLES¶
EXAMPLE 1¶
Get-HVvCenterServer
EXAMPLE 2¶
Get-HVvCenterServer -Name 'vCenter1'
PARAMETERS¶
-HvServer¶
Reference to Horizon View Server to query the virtual machines from. If the value is not passed or null then first element from global:DefaultHVServers would be considered inplace of hvServer
Type: Object
Parameter Sets: (All)
Aliases:
Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Name¶
A string value to query a vCenter Server by Name, if it is known.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters¶
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS¶
OUTPUTS¶
Returns array of object type Omnissa.Horizon.VirtualCenterInfo¶
NOTES¶
Author | Matt Frey. |
Author email | mfrey@omnissa.com |
Version | 1.0 |
===Tested Against Environment==== | | | |-|-| | Horizon View Server Version | 7.7 | | PowerCLI Version | PowerCLI 11.2.0 | | PowerShell Version | 5.1 |