CmdID / PowerShell / Cmdlets / Uninstall
Uninstall-AdcsEnrollmentWebService
Uninstalls the Certificate Enrollment Web service or individual instances of it. Windows Server PowerShell reference
From the Windows Server PowerShell reference 6 parameters Its page in the reference
Parameters
-AllEnrollmentServicesIndicates that this cmdlet removes all Certificate Enrollment Web Service instances.-AuthenticationTypeSpecifies the authentication type of the of enrollment services instance to be uninstalled.-CAConfigSpecifies the configuration string of the certification authority (CA) for which this cmdlet uninstalls enrollment services.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-ForceForces the command to run without asking for user confirmation.-WhatIf, -wiShows what would happen if the cmdlet runs.