Uninstalls the Network Device Enrollment service.
The Uninstall-AdcsNetworkDeviceEnrollmentService cmdlet removes the Network Device Enrollment Service (NDES) role service.
-Force
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value
Accept pipeline input? false
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
Uninstall-AdcsNetworkDeviceEnrollmentService [-Force ] [-Confirm ] [-WhatIf ] []
Ensure you run Windows PowerShell as an administrator. You can use the -force switch to bypass the prompt for confirmation.
C:\PS>Uninstall-AdcsNetworkDeviceEnrollmentService -force
Removes the NDES role service and does not prompt for user input.
Get-Command Uninstall-AdcsNetworkDeviceEnrollmentService
Install-AdcsNetworkDeviceEnrollmentService