Export-AdfsDeploymentSQLScript
Export-AdfsDeploymentSQLScript is accessible with the help of adfs module. To install adfs on your system please refer to this adfs.
Synopsis
Generates SQL scripts to create the AD FS database and to grant permissions.
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.
Parameters
-Confirm <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-DestinationFolder <string>
Required? true
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-ServiceAccountName <string>
Required? true
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
-WhatIf <>
Required? false
Position? Named
Default value
Accept pipeline input? false
Accept wildcard characters?
Syntax
Export-AdfsDeploymentSQLScript -DestinationFolder <String> -ServiceAccountName <String> [-WhatIf] [-Confirm] [<CommonParameters>]
————————–Example 1————————–
Export SQL deployment scripts
PS C:\> Export-AdfsDeploymentSQLScript -DestinationFolder “.\ScriptFolder” -ServiceAccountName “TOSSolution\AdfsUser”
This command exports SQL deployment scripts for AD FS installation on behalf of the specified AD FS service account.
You can check the Version, CommandType and Source of this cmdlet by giving below command.
Get-Command Export-AdfsDeploymentSQLScript