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 -DestinationFolder ".\scriptfolder" -ServiceAccountName DOMAIN\adfsUser
Description
Exports SQL deployment scripts for AD FS installation on behalf of the specified AD FS service account ("adfsUser").
Parameters
-DestinationFolder
Specifies the folder in which the generated SQL scripts will be saved.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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 |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
none
Outputs
Result object
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for