Syntax
Get-VsanView [[-Id] <ManagedObjectReference[]>] [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online versionDetailed Description
This cmdlet retrieves vSAN views that match the specified IDs. The string value of the ID is in format <type>-<value> as it is in the PowerShell toolkit objects.Parameters
Return Type
Zero or more VsanView objectsNotes
Examples
-------------- Example 1 --------------
Get-VsanView -Server "MyServer"
Retrieves all singleton vSAN view objects from the "MyServer" connected server.
-------------- Example 2 --------------
Get-VsanView -Id "ManagedObjectId"
Retrieves the view object of a vSAN managed object with ID "ManagedObjectId".