Get-AdfsDeviceRegistration

Get-AdfsDeviceRegistration

Gets the administrative polices of the Device Registration Service.

Syntax

Get-AdfsDeviceRegistration [ <CommonParameters>]

Detailed Description

The Get-AdfsDeviceRegistration cmdlet gets the administrative polices that are used by the Device Registration Service in Active Directory Federation Services (AD FS).

Parameters

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • DeviceRegistrationServiceObject

    This cmdlet generates a DeviceRegistrationServiceObject object that represents the Device Registration Service. The object includes the following properties:

    DevicesPerUser Type: Int
    MaximumInactiveDays Type: Int
    IsEnabledOnPremises: Type: bool
    IsEnabledInCloud: Type: bool
    DeviceObjectLocation: Type: string
    DrsObjectDN: Type: string

Examples

Example 1: Get settings of the Device Registration Service

This command gets the current settings for the Device Registration Service in AD FS.

PS C:\> Get-AdfsDeviceRegistration

Disable-AdfsDeviceRegistration

Set-AdfsDeviceRegistration

Enable-AdfsDeviceRegistration