Set-AdfsDeviceRegistrationUpnSuffix is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Sets the list of UPN suffixes.
Description
The Set-AdfsDeviceRegistrationUpnSuffix cmdlet sets the list of user principal name (UPN) suffixes that you can use when you register a device with Active Directory Federation Services (AD FS). The cmdlet discovers the UPN suffixes that are in use in the organization and configures the Secure Sockets Layer (SSL) bindings that correspond to the UPN suffix.
Any discovered UPN suffix must have a corresponding registration name in the SSL certificate for AD FS; for example, enterpriseregistration.upn suffix. You can also use a wildcard SSL certificate that covers all possible registration names. This cmdlet does not affect the custom UPN suffixes that you set manually by running the Add-AdfsDeviceRegistrationUpnSuffix cmdlet.
Parameters
-Force
Forces the command to run without asking for user confirmation.
Required? false
Position? named
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
Set-AdfsDeviceRegistrationUpnSuffix [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
——————–Example 1——————–
Set the list of UPN suffixes
PS C:> Set-AdfsDeviceRegistrationUpnSuffix
This command sets the list of UPN suffixes that you can use when you register a device.
——————–Example 2——————–
Set the list of UPN suffixes without confirming
PS C:> Set-AdfsDeviceRegistrationUpnSuffix -Force
This command sets the list of UPN suffixes without prompting you for confirmation.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Set-AdfsDeviceRegistrationUpnSuffix
You can also read about
- Add-AdfsDeviceRegistrationUpnSuffix
- Get-AdfsDeviceRegistrationUpnSuffix
- Remove-AdfsDeviceRegistrationUpnSuffix