Get-SpbmView
This cmdlet retrieves SPBM views for the managed objects in the SPBM server. The following options are supported: 1. By the specified IDs. The string value of the ID is in format
Syntax
[-Server <VIServer[]>]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
required |
|
ManagedObjectReference[] | named |
|
Specifies the ManagedObjectReference for which you want to retrieve the view. This parameter also accepts strings by silently converting them to ManagedObjectReference by using ArgumentTransformationAttribute. | optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems 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 default servers, see the description of the Connect-VIServer cmdlet. |
[-ServiceContent]
[CommonParameters]
Parameters
Required | Parameter Name | Type | Position | Features | Description |
---|---|---|---|---|---|
optional |
|
VIServer[] | named |
|
Specifies the vCenter Server systems 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 default servers, see the description of the Connect-VIServer cmdlet. | optional |
|
SwitchParameter | named |
|
When specified, returns views for all the managed objects in the SPBM service contents. |
Output
Examples
Example 1
Retrieves all SPBM view objects of the SPBM service content from the "MyServer" connected server.
Example 2
Retrieves the SPBM view object of a SPBM managed object with a "ManagedObjectId" ID.
Example 3
Retrieves the SPBM view object of the ProfileManager singleton managed object.