CmdID / PowerShell / Cmdlets / Uninstall
Uninstall-RmsMfgEnrollment
Terminates the enrollment of an AD RMS server with the Microsoft Federation Gateway. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-CertificateThumbprintSpecifies a string containing the thumbprint hash of the certificate that was used to enroll AD RMS with the Microsoft Federation Gateway.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceForces the unenrollment process to be completed, even if there are issues.-GetDefaultCertificateIndicates 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.-WhatIf, -wiShows what would happen if the cmdlet runs.