Get-SddcHost Command | Vmware PowerCLI Reference

Get-SddcHost

Retrieves information about one or more Host objects. Host represents an ESXi - the virtualization platform on which you can create and run virtual machines and virtual appliances.

Syntax

Get-SddcHost
-Cluster < Cluster >
[-Server < VcfSddcManagerServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Cluster Cluster named
  • pipeline
The Cluster that the Host objects must be member of.
optional Server VcfSddcManagerServer[] named
  • wildcards
Specifies the VCF SDDC Manager Server on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about servers, see the description of Connect-VcfSddcManagerServer.
Get-SddcHost
-Domain < Domain >
[-Server < VcfSddcManagerServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Domain Domain named
  • pipeline
The Domain that the Host objects must belong to.
optional Server VcfSddcManagerServer[] named
  • wildcards
Specifies the VCF SDDC Manager Server on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about servers, see the description of Connect-VcfSddcManagerServer.
Get-SddcHost
-Id < String[] >
[-Server < VcfSddcManagerServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
required
Id String[] named
One or more IDs for the Host.
optional Server VcfSddcManagerServer[] named
  • wildcards
Specifies the VCF SDDC Manager Server on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about servers, see the description of Connect-VcfSddcManagerServer.
Get-SddcHost
[-Name < String[] > ]
[-Server < VcfSddcManagerServer[] > ]
[CommonParameters]

Parameters

Required Parameter Name Type Position Features Description
optional Name String[] named
optional Server VcfSddcManagerServer[] named
  • wildcards
Specifies the VCF SDDC Manager Server on which you want to run the cmdlet. If no value is provided or $null value is passed to this parameter, the command runs on the default servers. For more information about servers, see the description of Connect-VcfSddcManagerServer.

Output

VMware.Vcf.SddcManager.Types.Host

Examples

Example 1

PS C:\> Get-SddcHost

Retrieve all Host objects.

Related Commands

SddcCluster

Retrieves information about one or more Cluster objects.

Remove-SddcCluster [-Cluster] <Cluster[]> [-Force] [-RunAsync] [-Server <VcfSddcManagerServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

SddcDomain

Retrieves information about one or more Domain objects.

Remove-SddcDomain [-Domain] <Domain[]> [-RunAsync] [-Server <VcfSddcManagerServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

SddcHost

Retrieves information about one or more Host objects.

Remove-SddcHost [-SddcHost] <Host[]> [-RunAsync] [-Server <VcfSddcManagerServer[]>] [-WhatIf] [-Confirm] [<CommonParameters>]

SddcTask

Get-SddcTask [[-Name] <string[]>] [-FullStatus <FullTaskStatus>] [-Type <string>] [-Server <VcfSddcManagerServer[]>] [<CommonParameters>] Get-SddcTask -Id <string[]> [-Server <VcfSddcManagerServer[]>] [<CommonParameters>]

SddcVcenter

Retrieves information about one or more Vcenter objects.