Uninstall-RmsMfgEnrollment
Terminates the enrollment of an AD RMS server with the Microsoft Federation Gateway.
Syntax
Uninstall-RmsMfgEnrollment
[-Force]
[-GetDefaultCertificate]
[-CertificateThumbprint <String>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-RmsMfgEnrollment cmdlet terminates the enrollment of an Active Directory Rights Management Services (AD RMS) server with the Microsoft Federation Gateway.
Examples
Example 1: Terminate enrollment to the Microsoft Federation Gateway with a specified thumbprint
PS C:\> Uninstall-RmsMfgEnrollment -CertificateThumbprint "a909502dd82ae41433e6f83886b00d4277a32a7b"
This command removes support for Microsoft Federation Gateway from the AD RMS server using the specified certificate thumbprint.
Example 2: Terminate enrollment with the default certificate
PS C:\> Uninstall-RmsMfgEnrollment -GetDefaultCertificate
This command removes support for Microsoft Federation Gateway from the AD RMS server by retrieving and using the certificate thumbprint hash for the AD RMS default certificate.
Parameters
-CertificateThumbprint
Specifies a string containing the thumbprint hash of the certificate that was used to enroll AD RMS with the Microsoft Federation Gateway.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Force
Forces the unenrollment process to be completed, even if there are issues.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-GetDefaultCertificate
Indicates that the thumbprint hash of the AD RMS default certificate should be retrieved and used during the removal of support for the AD RMS server to use the Microsoft Federation Gateway.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
None
Outputs
None