編集

次の方法で共有


Enable-AdfsDeviceRegistration

This cmdlet has been deprecated.

Syntax

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

Description

This cmdlet has been deprecated for AD FS 2016. For more information, see Configure On-Premises Conditional Access using registered devices.

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.

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

-Credential

Specifies a PSCredential object.

Type:PSCredential
Position:Named
Default value:None
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