Edit

Share via


Export-AdfsAuthenticationProviderConfigurationData

Exports the custom configuration of an external authentication provider to a file.

Syntax

PowerShell
Export-AdfsAuthenticationProviderConfigurationData
      -Name <String>
      -FilePath <String>
      [-WhatIf]
      [-Confirm]
      [<CommonParameters>]

Description

The Export-AdfsAuthenticationProviderConfigurationData cmdlet exports the custom configuration of an external authentication provider to a file. Before you use this cmdlet, verify that the external authentication provider supports a custom configuration.

Examples

Example 1: Export configuration data

PowerShell
PS C:\> Export-AdfsAuthenticationProviderConfigurationData -Name "ContosoExternalAuthProvider" -FilePath "C:\share\test.txt"

This command exports configuration data for the authentication provider named ContosoExternalAuthProvider to the file C:\share\test.txt

Parameters

-Confirm

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

-FilePath

Specifies a file path. The cmdlet exports the configuration data to a file that you specify.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Name

Specifies the name of the authentication provider to export.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

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

Outputs