Export-AdfsDeploymentSQLScript
Generates SQL scripts to create the AD FS database and to grant permissions.
Syntax
Export-AdfsDeploymentSQLScript
-DestinationFolder <String>
-ServiceAccountName <String>
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
The Export-AdfsDeploymentSQLScript cmdlet generates the SQL scripts that you can use separately to create the Active Directory Federation Services (AD FS) database and to grant permissions.
Examples
Example 1: Export SQL deployment scripts
PS C:\> Export-AdfsDeploymentSQLScript -DestinationFolder ".\ScriptFolder" -ServiceAccountName "ContosoDomain\PattiFuller"
This command exports SQL deployment scripts for AD FS installation on behalf of the specified AD FS service account.
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 |
-DestinationFolder
Specifies the folder in which the cmdlet saves the generated SQL scripts.
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® Domain Services 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 |
-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 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈