Enable-AdfsDeviceRegistration

This cmdlet has been deprecated.

Syntax

Enable-AdfsDeviceRegistration
      [-Confirm]
      [-Credential <PSCredential>]
      [-Force]
      [-WhatIf]
      [<CommonParameters>]

Description

This cmdlet has been deprecated for AD FS 2016. For more information, see Configure On-Premises Conditional Access using registered deviceshttps://technet.microsoft.com/en-us/windows-server-docs/identity/ad-fs/operations/configure-device-based-conditional-access-on-premises (https://technet.microsoft.com/en-us/windows-server-docs/identity/ad-fs/operations/configure-device-based-conditional-access-on-premises) on TechNet.

The Enable-AdfsDeviceRegistration cmdlet configures a server in an Active Directory Federation Services (AD FS) farm to host the Device Registration Service. To completely enable the Device Registration Service, you must run this command on each AD FS server in your AD FS farm. You must run the Initialize-ADDeviceRegistration cmdlet before you run this cmdlet.

Examples

Example 1: Enable the device registration service

PS C:\> Enable-AdfsDeviceRegistration
Message                                                     Context                                                                                                          Status
-------                                                     -------                                                                                                          ------
The configuration completed successfully.                   DeploymentSucceeded                                                                                             Success

This command enables the Device Registration Service on the AD FS server. Note that you must perform this action on every AD FS server in the farm.

Optional Parameters

-Confirm

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
-Credential

Specifies a PSCredential object.

Type:PSCredential
Position:Named
Default value:None
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
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
Accept pipeline input:False
Accept wildcard characters:False