Remove-DPMRecoveryTarget
Remove-DPMRecoveryTarget
Allows you to revoke permissions to a location for a DPM role.
Syntax
Remove-DPMRecoveryTarget [-Type] <AmDatasourceType> [[-RecoveryTargets] <TargetRecoveryItem>] [-DpmRole] <DPMRole> [-All <SwitchParameter>] [<CommonParameters>]
Detailed Description
The Remove-DPMRecoveryTarget cmdlet allows you to revoke permissions to a location for a DPM role.
Parameters
-Type
Indicates whether you are providing a SQL Server instance or SQL Server database to the cmdlet.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
1 |
-RecoveryTargets
This object consists of the SQL Server instance and the folder to which alternate instance recovery is allowed.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
2 |
-DpmRole
The DPM role for SQL Server end-user recovery.
Attributes
Name | Value |
---|---|
Required? |
true |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
0 |
-All
Will affect all objects that the cmdlet refers to.
Attributes
Name | Value |
---|---|
Required? |
false |
Accept wildcard characters? |
false |
Accept Pipeline Input? |
false |
Position? |
named |
-CommonParameter
This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, and OutVariable. For more information, see about_CommonParameters.
Input and Return Types
The input type is the type of the objects that you can pipe to the cmdlet. The return type is the type of the objects that the cmdlet emits.
Notes
For more information, type "Get-Help Remove-DPMRecoveryTarget -detailed".
For technical information, type "Get-Help Remove-DPMRecoveryTarget -full".Additionally, any updated information about the cmdlet will be available at https://go.microsoft.com/fwlink/?LinkId=95130.