CmdID / PowerShell / Cmdlets / Initialize
Initialize-ADDeviceRegistration
Initializes the Device Registration Service configuration in the Active Directory forest. Windows Server PowerShell reference
From the Windows Server PowerShell reference 9 parameters Its page in the reference
Parameters
-CredentialSpecifies a PSCredential object based on a user name and password.-DeviceLocationSpecifies the domain in which to store the device objects.-DiscoveryNameSpecifies a discovery name.-ForceForces the command to run without asking for user confirmation.-MaximumRegistrationInactivityPeriodSpecifies the maximum number of days to elapse before a device object is deleted due to inactivity.-RegistrationQuotaSpecifies the maximum number of devices that an individual user can register.-ServiceAccountNameSpecifies the account to which to grant read and write access to the Device Registration service configuration and containers in Active Directory.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.