Get-VCFWorkloadDomain

Synopsis

Connects to the specified SDDC Manager and retrieves a list of workload domains.

Syntax

Get-VCFWorkloadDomain -name <string> -id <string>

Description

The Get-VCFWorkloadDomain cmdlet connects to the specified SDDC Manager and retrieves a list of workload domains.

Examples

Example 1

Get-VCFWorkloadDomain

This example shows how to get a list of Workload Domains

Example 2

Get-VCFWorkloadDomain -name WLD01

This example shows how to get a Workload Domain by name

Example 3

Get-VCFWorkloadDomain -id 8423f92e-e4b9-46e7-92f7-befce4755ba2

This example shows how to get a Workload Domain by id

Example 4

Get-VCFWorkloadDomain -id 8423f92e-e4b9-46e7-92f7-befce4755ba2 -endpoints | ConvertTo-Json

This example shows how to get endpoints of a Workload Domain by its id and displays the output in Json format

Parameters

-name

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: Named
Default value: None

-id

ID of a specific workload domain

Type: String
Parameter Sets: Username
Aliases:

Required: False
Position: Named
Default value: None

Notes