Export-AdfsDeploymentSQLScript

Generates the SQL scripts that can be used separately to create the AD FS database and to grant permissions.

Syntax

Export-AdfsDeploymentSQLScript
      -DestinationFolder <String>
      -ServiceAccountName <String>
      [<CommonParameters>]

Description

The Export-AdfsDeploymentSQLScript cmdlet generates the SQL scripts that can be used separately to create the AD FS database and to grant permissions.

Examples

-------------------------- EXAMPLE 1 --------------------------

C:\PS>Export-AdfsDeploymentSQLScript -ScriptDestinationFolder ".\scriptfolder" -ServiceAccountName DOMAIN\adfsUser

Description


Exports SQL deployment scripts for AD FS installation on behalf of the specified AD FS service account ("adfsUser").

Required Parameters

-DestinationFolder

Specifies the folder in which the generated SQL scripts will be saved.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-ServiceAccountName

Specifies the name of the Active Directory account under which the AD FS service runs. All nodes in the farm must use the same service account.

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

Inputs

none

Outputs

Result object