Enable-AdfsDeviceRegistration is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Configures a server in an AD FS farm to host the Device Registration Service.
Description
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.
Parameters
-Confirm <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-Credential <pscredential>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-Force <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Enable-AdfsDeviceRegistration [-Credential <PSCredential>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Enable-AdfsDeviceRegistration
——————————Example 1——————————
Enable the device registration service
PS C:\> Enable-AdfsDeviceRegistration
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.
You can also read about
- Get-Credential
- Get-AdfsDeviceRegistration
- Disable-AdfsDeviceRegistration
- Set-AdfsDeviceRegistration
- Initialize-ADDeviceRegistration