CmdID / PowerShell / Cmdlets / Uninstall
Uninstall-ADRMS
Removes configuration for an existing deployment of AD RMS Server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 5 parameters Its page in the reference
Parameters
-ADFSOnlyRemoves configuration support for Active Directory Federated Services (AD FS) from this computer, but does not otherwise change the AD RMS configuration.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-CredentialSpecifies user credentials to use for the configuration process.-ForceForces completion of the command by overriding restrictions that would prevent it from succeeding (so long as a the changes made do not compromise security).-WhatIf, -wiShows what would happen if the cmdlet runs.