Disable-AdfsDeviceRegistration

Marks the Device Registration Service as disabled on an AD FS server.

Syntax

Disable-AdfsDeviceRegistration
       [-WhatIf]
       [-Confirm]
       [<CommonParameters>]

Description

The Disable-AdfsDeviceRegistration cmdlet marks the Device Registration Service as disabled on an Active Directory Federation Services (AD FS) server. To completely disable the Device Registration Service, you must run this command on each AD FS server in your AD FS farm.

Examples

Example 1: Disable Windows Server Device Registration Service

PS C:\> Disable-AdfsDeviceRegistration

This command marks the Device Registration Service as disabled on the Active Directory Federation Services (AD FS) server.

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

-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