Remove-AdfsDeviceRegistrationUpnSuffix
Remove-AdfsDeviceRegistrationUpnSuffix is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Removes a custom UPN suffix.
Description
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.
Parameters
-Force
Forces the command to run without asking for user confirmation.
Required? false
Position? named
Default value none
Accept pipeline input? false
Accept wildcard characters? false
-UpnSuffix <String>
Specifies a UPN suffix. The cmdlet removes the UPN suffix that you specify as a valid registration UPN suffix.
Required? true
Position? 1
Default value none
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
-Confirm <SwitchParameter>
Prompts you for confirmation before running the cmdlet.Prompts you for confirmation before running the cmdlet.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
-WhatIf <SwitchParameter>
Shows what would happen if the cmdlet runs. The cmdlet is not run.Shows what would happen if the cmdlet runs. The cmdlet is not run.
Required? false
Position? named
Default value false
Accept pipeline input? false
Accept wildcard characters? false
Syntax
Remove-AdfsDeviceRegistrationUpnSuffix [-UpnSuffix] <String> [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
———————–Example 1———————–
Remove a custom UPN suffix
PS C:> Remove-AdfsDeviceRegistrationUpnSuffix -UpnSuffix “mumbai.TOSSolution.com” -Force
This command removes the UPN suffix mumbai.TOSSolution.com from the list of acceptable UPN suffixes for users to workplace join their devices.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Remove-AdfsDeviceRegistrationUpnSuffix
You can also read about
- Add-AdfsDeviceRegistrationUpnSuffix
- Get-AdfsDeviceRegistrationUpnSuffix
- Set-AdfsDeviceRegistrationUpnSuffix
Great post. I was checking constantly this blog and I am impressed! Very useful info specifically the last part 🙂 I care for such info a lot. I was seeking this certain information for a very long time. Thank you and best of luck.