Uninstall-AdcsNetworkDeviceEnrollmentService

Uninstalls the NDES role service.

Syntax

Uninstall-AdcsNetworkDeviceEnrollmentService
         [-Force]
         [-WhatIf]
         [-Confirm]
         [<CommonParameters>]

Description

The Uninstall-AdcsNetworkDeviceEnrollmentService cmdlet uninstalls the Network Device Enrollment Service (NDES) role service.

Examples

Example 1: Uninstall the NDES role service

Uninstall-AdcsNetworkDeviceEnrollmentService -Force

This command uninstalls the NDES role service and does not prompt for user input.

Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Force

Forces the command to run without asking for user confirmation.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Required:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

Microsoft.CertificateServices.Deployment.Common.NDES.NetworkDeviceEnrollmentServiceResult

Notes

  • Ensure you run Windows PowerShell as an administrator. You can use the Force parameter to bypass the prompt for confirmation.