Uninstall-Device
Health
Attestation
Syntax
Uninstall-DeviceHealthAttestation
[-RemoveSslBinding]
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Uninstall-DeviceHealthAttestation cmdlet uninstalls the Device Health Attestation service and its dependencies. The cmdlet also removes the firewall rule for incoming requests, the web application, and the application pool.
You must have administrator rights to run this cmdlet.
Examples
Example 1: Uninstall the Device Health Attestation service
PS C:\> Uninstall-DeviceHealthAttestation
This command uninstalls the Device Health Attestation service.
Example 2: Uninstall the Device Health Attestation service with SSL bindings
PS C:\> Uninstall-DeviceHealthAttestation -RemoveSslBinding
Optional Parameters
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Removes the SSL binding from the default website.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |