Table of contents
TLS
TOC
Collapse the table of content
Expand the table of content

Uninstall-DeviceHealthAttestation

Brian Lich|Last Updated: 3/26/2017

SYNOPSIS

Uninstalls the Device Health Attestation service.

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

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-Force

Forces the command to run without asking for user confirmation.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-RemoveSslBinding

Removes the SSL binding from the default website.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: 

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

-WhatIf

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

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Install-DeviceHealthAttestation

© 2017 Microsoft