Uninstall-RmsMfgEnrollment

Uninstall-RmsMfgEnrollment

Terminates the enrollment of an server with the Microsoft Federation Gateway.

Syntax

Parameter Set: Default
Uninstall-RmsMfgEnrollment [-CertificateThumbprint <String> ] [-Force] [-GetDefaultCertificate] [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed Description

The Uninstall-RmsMfgEnrollment cmdlet terminates the enrollment of an server with the Microsoft Federation Gateway.

Parameters

-CertificateThumbprint<String>

Specifies a string containing the thumbprint hash of the certificate that was used to enroll with the Microsoft Federation Gateway.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Force

Forces the unenrollment process to be completed, even if there are issues.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-GetDefaultCertificate

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.

Aliases

none

Required?

false

Position?

named

Default Value

none

Accept Pipeline Input?

true (ByValue, ByPropertyName)

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

  • None

Outputs

The output type is the type of the objects that the cmdlet emits.

  • None

Examples

-------------- EXAMPLE 1 --------------

Removes support for Microsoft Federation Gateway form the AD RMS server using the specified certificate thumbprint.

PS C:\> Uninstall-RmsMfgEnrollment -CertificateThumbprint a909502dd82ae41433e6f83886b00d4277a32a7b

-------------- EXAMPLE 2 --------------

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.

PS C:\> Uninstall-RmsMfgEnrollment -GetDefaultCertificate

Install-RmsMfgEnrollment