Remove-MgmtSvcResourceProviderConfiguration

Remove-MgmtSvcResourceProviderConfiguration

Removes a resource provider from a management store database.

Syntax

Parameter Set: Default
Remove-MgmtSvcResourceProviderConfiguration [-Name] <String> [-InstanceId] <String> [-As <String> ] [-ConnectionString <String> ] [-EncryptionAlgorithm <String> ] [-EncryptionKey <String> ] [-Confirm] [-WhatIf] [ <CommonParameters>]


 

Detailed Description

The Remove-MgmtSvcResourceProviderConfiguration cmdlet removes an entry for a resource provider from the management store database. You can run this cmdlet from any computer in the deployment.

If this cmdlet is run on the computer on which the Admin API service is installed and Web.config file contains values for ConnectionString, EncryptionKey, and EncryptionAlgorithm, then those values are used.

Parameters

-As<String>

Specifies an output format.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-ConnectionString<String>

Specifies an SQL connection string.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-EncryptionAlgorithm<String>

Specifies an encryption algorithm.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-EncryptionKey<String>

Specifies an encryption key, as a hexadecimal string.

 

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-InstanceId<String>

Specifies an ID for an instance of a resource provider.

 

Aliases

none

Required?

true

Position?

2

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Name<String>

Specifies the name of a resource provider.

 

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-Confirm

Prompts you for confirmation before executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

 

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

 

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1: Remove a resource provider

This command removes the resource provider with the name RP01 and instance ID of 0602c550-0853-48fc-bfbb-dc1f84ac08a3.

PS C:\> Remove-MgmtSvcResourceProviderConfiguration -Name "RP01" -InstanceId "0602c550-0853-48fc-bfbb-dc1f84ac08a3"

 

Related topics

New-MgmtSvcResourceProviderConfiguration

Add-MgmtSvcResourceProviderConfiguration

Get-MgmtSvcResourceProviderConfiguration