Export-AdfsDeploymentSQLScript
Export-AdfsDeploymentSQLScript
Generates the SQL scripts that can be used separately to create the AD FS database and to grant permissions.
Syntax
Parameter Set: Default
Export-AdfsDeploymentSQLScript -DestinationFolder <String> -ServiceAccountName <String> [ <CommonParameters>]
Detailed Description
The Export-AdfsDeploymentSQLScript cmdlet generates the SQL scripts that can be used separately to create the AD FS database and to grant permissions.
Parameters
-DestinationFolder<String>
Specifies the folder in which the generated SQL scripts will be saved.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
Accept Pipeline Input? |
false |
Accept Wildcard Characters? |
false |
-ServiceAccountName<String>
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.
Aliases |
none |
Required? |
true |
Position? |
named |
Default Value |
none |
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.
- none
Outputs
The output type is the type of the objects that the cmdlet emits.
- Result object
Examples
-------------------------- EXAMPLE 1 --------------------------
Description
-----------
Exports SQL deployment scripts for AD FS installation on behalf of the specified AD FS service account ("adfsUser").
C:\PS>Export-AdfsDeploymentSQLScript -ScriptDestinationFolder ".\scriptfolder" -ServiceAccountName DOMAIN\adfsUser