Syntax
Get-SpbmView [-Id] <ManagedObjectReference[]> [-Server <VIServer[]>] [<CommonParameters>]Related Commands
Online VersionDetailed Description
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 <type>-<value> as it is in the PowerShell toolkit objects. 2. By the SPBM service contents. Returns views for all the managed objects available in the SPBM service contents.Parameters
Return Type
Zero or more SpbmView objectsNotes
Examples
-------------------------- Example 1 --------------------------
Get-SpbmView -ServiceContent -Server "MyServer"
Retrieves all SPBM view objects of the SPBM service content from the "MyServer" connected server.
-------------------------- Example 2 --------------------------
Get-SpbmView -Id "ManagedObjectId"
Retrieves the SPBM view object of a SPBM managed object with a "ManagedObjectId" ID.
-------------------------- Example 3 --------------------------
$serviceInstanceView = Get-SpbmView -Id "PbmServiceInstance-ServiceInstance" $spbmServiceContent = $serviceInstanceView.PbmRetrieveServiceContent() Get-SpbmView -Id $spbmServiceContent.ProfileManager
Retrieves the SPBM view object of the ProfileManager singleton managed object.