Remove-AdfsDeviceRegistrationUpnSuffix
Removes a custom UPN suffix.
Remove-AdfsDeviceRegistrationUpnSuffix
[-UpnSuffix] <String>
[-Force]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
The Remove-AdfsDeviceRegistrationUpnSuffix cmdlet removes a custom user principal name (UPN) suffix. The cmdlet removes the UPN suffix and the SSL binding that corresponds to the UPN suffix. After you remove a custom UPN suffix, accounts that have a UPN that corresponds to the specified UPN suffix can no longer register devices. Use the Add-AdfsDeviceRegistrationUpnSuffix cmdlet to add a custom UPN suffix.
PS C:\> Remove-AdfsDeviceRegistrationUpnSuffix -UpnSuffix "Child.Contoso.com" -Force
This command removes the UPN suffix Child.Contoso.com from the list of acceptable UPN suffixes for users to workplace join their devices.
Prompts you for confirmation before running the cmdlet.
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Forces the command to run without asking for user confirmation.
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Specifies a UPN suffix. The cmdlet removes the UPN suffix that you specify as a valid registration UPN suffix.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | False |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
String objects are received by the UpnSuffix parameter.