編集

次の方法で共有


Enable-AdfsDeviceRegistration

This cmdlet has been deprecated.

Syntax

Default (Default)

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.

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Credential

Specifies a PSCredential object.

Parameter properties

Type:PSCredential
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Force

Forces the command to run without asking for user confirmation.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-WhatIf

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

Parameter properties

Type:SwitchParameter
Default value:False
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

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