Condividi tramite


Get-SCConfigurationProvider

Gets a configuration provider object.

Syntax

Default (Default)

Get-SCConfigurationProvider
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

ByName

Get-SCConfigurationProvider
    [[-Name] <String>]
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

ByType

Get-SCConfigurationProvider
    [[-ProviderType] <ConfigurationProviderType>]
    [-VMMServer <ServerConnection>]
    [<CommonParameters>]

Description

The Get-SCConfigurationProvider cmdlet gets a configuration provider object. A configuration provider is a plug-in to Virtual Machine Manager (VMM) that translates VMM PowerShell commands to API calls that are specific to a type of load balancer or baseboard management controller.

Examples

Example 1: Get all configuration providers by a specified type

PS C:\> Get-SCConfigurationProvider -ProviderType "LoadBalancer"

This command gets all configuration providers that are load balancers.

Example 2: Get a configuration provider by its name

PS C:\> $ConfigProvider = Get-SCConfigurationProvider -Name "Microsoft Network Load Balancing (NLB)"
PS C:\> $ConfigProvider

The first command gets the Microsoft Network Load Balancing (NLB) configuration provider by its name and stores it in the $ConfigProvider variable.

The second command displays information about the configuration provider stored in $ConfigProvider to the user.

Parameters

-Name

Specifies the name of a VMM object.

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

ByName
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-ProviderType

Specifies the type of a configuration provider. Valid values are: LoadBalancer, OutOfBandManagement.

Parameter properties

Type:ConfigurationProviderType
Default value:None
Accepted values:OutOfBandManagement, LoadBalancer, Gateway, VirtualSwitchExtensionManager, NetworkService, NetworkServiceV2, Unknown
Supports wildcards:False
DontShow:False

Parameter sets

ByType
Position:0
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

-VMMServer

Specifies a VMM server object.

Parameter properties

Type:ServerConnection
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:True
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Outputs

ConfigurationProvider

This cmdlet returns a ConfigurationProvider object.