Get-MgmtSvcResourceProviderConfiguration

Gets a resource provider configuration.

Syntax

Get-MgmtSvcResourceProviderConfiguration
   [[-Name] <String[]>]
   [-ConnectionString <String>]
   [-EncryptionKey <String>]
   [-EncryptionAlgorithm <String>]
   [-As <String>]
   [-DecryptPassword]
   [<CommonParameters>]

Description

The Get-MgmtSvcResourceProviderConfiguration cmdlet gets a resource provider configuration. If you run this cmdlet without specifying any parameters, all resource provider configurations are returned. To get a specific resource provider configuration, specify one or more values for the Name parameter.

Examples

Example 1: Get all resource provider configurations

PS C:\> Get-MgmtSvcResourceProviderConfiguration -As XmlString

This command gets all resource provider configurations and returns their information in XML format.

Example 2: Get specific resource provider configurations by their name

PS C:\> Get-MgmtSvcResourceProviderConfiguration -Name "SqlServers","marketplace"

This command gets only the resource provider configurations named SqlServers and marketplace, and returns information about the configurations to the user.

Optional Parameters

-As

Specifies an output format.

Type:String
Parameter Sets:Xml, XDocument, XmlString
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ConnectionString

Specifies an SQL connection string.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-DecryptPassword

{{Fill DecryptPassword Description}}

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EncryptionAlgorithm

Specifies an encryption algorithm.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-EncryptionKey

Specifies an encryption key, as a hexadecimal string.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Name

Specifies an array of names of resource providers. You can use wildcards.

Type:String[]
Position:0
Default value:None
Accept pipeline input:False
Accept wildcard characters:False