Disable-AdfsDeviceRegistration
Marks the Device Registration Service as disabled on an AD FS server.
Syntax
Default (Default)
Disable-AdfsDeviceRegistration
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Disable-AdfsDeviceRegistration cmdlet marks the Device Registration Service as disabled on an Active Directory Federation Services (AD FS) server. To completely disable the Device Registration Service, you must run this command on each AD FS server in your AD FS farm.
Examples
Example 1: Disable Windows Server Device Registration Service
PS C:\> Disable-AdfsDeviceRegistration
This command marks the Device Registration Service as disabled on the Active Directory Federation Services (AD FS) server.
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 |
-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.