CmdID / PowerShell / Cmdlets / Disable
Disable-AdfsDeviceRegistration
Marks the Device Registration Service as disabled on an AD FS server. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-Confirm, -cfPrompts you for confirmation before running the cmdlet.-WhatIf, -wiShows what would happen if the cmdlet runs.