Uninstall-RmsMfgEnrollment is accessible with the help of ADRMSAdmin module. To install ADRMSAdmin on your system please refer to this ADRMSAdmin.
Synopsis
Terminates the enrollment of an AD RMS server with the Microsoft Federation Gateway.
Description
The Uninstall-RmsMfgEnrollment cmdlet terminates the enrollment of an AD RMS server with the Microsoft Federation Gateway.
Parameters
-CertificateThumbprint
Specifies a string containing the thumbprint hash of the certificate that was used to enroll AD RMS with the Microsoft Federation Gateway.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Force <SwitchParameter>
Forces the unenrollment process to be completed, even if there are issues.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-GetDefaultCertificate <SwitchParameter>
When specified, 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.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Uninstall-RmsMfgEnrollment [-Force] [-GetDefaultCertificate] [-CertificateThumbprint <String>] [-WhatIf] [-Confirm] [<CommonParameters>]
————– EXAMPLE 1 ————–
PS C:>Uninstall-RmsMfgEnrollment -CertificateThumbprint <Certificatethubprint>
Removes support for Microsoft Federation Gateway form the AD RMS server using the specified certificate thumbprint.
————– EXAMPLE 2 ————–
PS C:>Uninstall- RmsMfgEnrollment -GetDefaultCertificate
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.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Uninstall-RmsMfgEnrollment
You can also read about
- Install-RmsMfgEnrollment