Syntax
Get-VsanComponent [-Id <String[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Detailed Description
This cmdlet retrieves basic information about vSAN component, including its uuid, the vSAN object it belongs to, the disk it resides on, its status and type.Parameters
Return Type
Notes
Examples
-------------------------- Example 1 --------------------------
Get-VsanComponent -Id $id
Retrieves vSAN components by filtering them by ID.
-------------------------- Example 2 --------------------------
Get-VsanComponent -VsanObject $vsanObject
Retrieves the component that belongs to the vSAN object.
-------------------------- Example 3 --------------------------
Get-VsanComponent -VsanDisk $vsanDisk
Retrieves the component that resides on vsanDisk.
-------------------------- Example 4 --------------------------
Get-VsanComponent -VsanObject $vsanObject -VsanDisk $vsanDisk
Retrieves the component that belongs to the vSAN object and resides on the vSAN disk.