Export-AdfsAuthenticationProviderConfigurationData

Export-AdfsAuthenticationProviderConfigurationData

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

Syntax

Parameter Set: Default
Export-AdfsAuthenticationProviderConfigurationData -FilePath <String> -Name <String> [-Confirm] [-WhatIf] [ <CommonParameters>]

Detailed 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.

Parameters

-FilePath<String>

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

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Name<String>

Specifies the name of the authentication provider to export.

Aliases

none

Required?

true

Position?

named

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-Confirm

Prompts you for confirmation before running the cmdlet.

Required?

false

Position?

named

Default Value

false

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

-WhatIf

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

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see    about_CommonParameters (https://go.microsoft.com/fwlink/p/?LinkID=113216).

Inputs

The input type is the type of the objects that you can pipe to the cmdlet.

Outputs

The output type is the type of the objects that the cmdlet emits.

  • System.Object

Examples

Example 1: Export configuration data

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

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

Import-AdfsAuthenticationProviderConfigurationData