Set-AdfsDeviceRegistrationUpnSuffix

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

Get-Command Set-AdfsDeviceRegistrationUpnSuffix powershell script command cmdlet adfs

You can also read about

  • Add-AdfsDeviceRegistrationUpnSuffix
  • Get-AdfsDeviceRegistrationUpnSuffix
  • Remove-AdfsDeviceRegistrationUpnSuffix

To know more PowerShell cmdlets(Commands) on Active Directory Federation Services(ADFS) click here

Click on this Link for an Single place where you get all the PowerShell cmdlet sorted based on the modules.

You can also refer other blogs on PowerShell at link

You can also refer other blogs on Microsoft at link

And also if you required any technology you want to learn, let us know below we will publish them in our site http://tossolution.com/

Like our page in Facebook and follow us for New technical information.

References are taken from Microsoft

Leave a Reply

Your email address will not be published. Required fields are marked *