vSphere PowerCLI Reference

Get-SpbmCapability

Synopsis

This cmdlet retrieves capability schema.

Syntax

Get-SpbmCapability [[-Name] <String[]>] [-Category <String[]>] [-Server <VIServer[]>] [<CommonParameters>]

Related Commands

Online version

Detailed Description

This cmdlet retrieves capability schema.
Each capability schema object has a unique identifier and contains the namespace to which the capability schema object belongs.
Each registered namespace must be unique. You can relate a capability schema object with a unique vendor and resource type by using the namespace.

To discover a namespace, run "Get-SpbmCapability | select Namespace -unique".

Parameters

NameTypeDescriptionRequired?Pipeline InputDefault Value
NameString[]Optional filter, based on full name of the capability schema object you want to retrieve. The full name must be in the format <namespace>.<id>.falsefalse
CategoryString[]Specifies the capability sub category of the capability schema object you want to retrieve.falsefalse
ServerVIServer[]Specifies the vCenter Server systems on which you want to run the cmdlet. If no value is given to this parameter, the command runs on the default servers. For more information about default servers, see the description of Connect-VIServer.falsetrue (ByValue)

Return Type

List of SpbmCapability objects

Notes

Works only with vCenter Server 5.5 or later.

Examples

-------------- Example 1 --------------

Get-SpbmCapability -Name "VSAN.stripeWidth"

Returns all SPBM capability schemas named "VSAN.stripeWidth". The name is unique for the capability schemas.

-------------- Example 2 --------------

Get-SpbmCapability -Name VSAN*

Returns all SPBM capability schemas whose name starts with VSAN.

-------------- Example 3 --------------

Get-SpbmCapability -Name "VSAN*" -Category "Performance"

Returns all SPBM capability schemas whose name starts with "VSAN" and are of category "Performance".


Copyright © 1998 - 2014 VMware, Inc. All rights reserved.