-
Notifications
You must be signed in to change notification settings - Fork 224
Complete SqlDscFailoverCluster
Completes the SQL Server instance installation in the Failover Cluster instance.
Complete-SqlDscFailoverCluster [-MediaPath] <String> [-InstanceName] <String> [-Enu] [[-ProductKey] <String>]
[[-ASBackupDir] <String>] [[-ASCollation] <String>] [[-ASConfigDir] <String>] [[-ASDataDir] <String>]
[[-ASLogDir] <String>] [[-ASTempDir] <String>] [[-ASServerMode] <String>] [[-ASSysAdminAccounts] <String[]>]
[-ASProviderMSOLAP] [-InstallSqlDataDir] <String> [[-SqlBackupDir] <String>] [[-SecurityMode] <String>]
[[-SAPwd] <SecureString>] [[-SqlCollation] <String>] [-SqlSysAdminAccounts] <String[]>
[[-SqlTempDbDir] <String>] [[-SqlTempDbLogDir] <String>] [[-SqlTempDbFileCount] <UInt16>]
[[-SqlTempDbFileSize] <UInt16>] [[-SqlTempDbFileGrowth] <UInt16>] [[-SqlTempDbLogFileSize] <UInt16>]
[[-SqlTempDbLogFileGrowth] <UInt16>] [[-SqlUserDbDir] <String>] [[-SqlUserDbLogDir] <String>]
[[-RsInstallMode] <String>] [[-FailoverClusterGroup] <String>] [[-FailoverClusterDisks] <String[]>]
[-FailoverClusterNetworkName] <String> [-FailoverClusterIPAddresses] <String[]> [-ConfirmIPDependencyChange]
[-ProductCoveredBySA] [[-Timeout] <UInt32>] [-Force] [-WhatIf] [-Confirm]
[<CommonParameters>]
Completes the SQL Server instance installation in the Failover Cluster
instance that was prepared using Install-SqlDscServer
with the parameter
-PrepareFailoverCluster
.
See the link in the commands help for information on each parameter. The link points to SQL Server command line setup documentation.
Complete-SqlDscFailoverCluster -InstanceName 'MyInstance' -InstallSqlDataDir 'D:\MSSQL\Data' -SqlSysAdminAccounts @('MyAdminAccount') -FailoverClusterNetworkName 'TestCluster01A' -FailoverClusterIPAddresses 'IPv4;192.168.0.46;ClusterNetwork1;255.255.255.0' -MediaPath 'E:\'
Completes the installation of the SQL Server instance 'MyInstance' in the Failover Cluster instance.
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 4
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 10
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 11
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: 29
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 28
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 31
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 30
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
If specified the command will not ask for confirmation. Same as if Confirm:$false is used.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 12
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies the path where to find the SQL Server installation media. On this path the SQL Server setup executable must be found.
Type: String
Parameter Sets: (All)
Aliases:
Required: True
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 27
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: SecureString
Parameter Sets: (All)
Aliases:
Required: False
Position: 15
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 14
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 13
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 16
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: True
Position: 17
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 18
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 20
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 22
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 21
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 19
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 24
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: UInt16
Parameter Sets: (All)
Aliases:
Required: False
Position: 23
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 25
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
See the notes section for more information.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: 26
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Specifies how long to wait for the setup process to finish.
Default value
is 7200
seconds (2 hours).
If the setup process does not finish before
this time, an exception will be thrown.
Type: UInt32
Parameter Sets: (All)
Aliases:
Required: False
Position: 32
Default value: 7200
Accept pipeline input: False
Accept wildcard characters: False
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
The parameters are intentionally not described since it would take a lot of effort to keep them up to date. Instead there is a link that points to the SQL Server command line setup documentation which will stay relevant.
- Add-SqlDscNode
- Add-SqlDscTraceFlag
- Complete-SqlDscFailoverCluster
- Complete-SqlDscImage
- Connect-SqlDscDatabaseEngine
- ConvertFrom-SqlDscDatabasePermission
- ConvertFrom-SqlDscServerPermission
- ConvertTo-SqlDscDatabasePermission
- ConvertTo-SqlDscServerPermission
- Disable-SqlDscAudit
- Disconnect-SqlDscDatabaseEngine
- Enable-SqlDscAudit
- Get-SqlDscAudit
- Get-SqlDscConfigurationOption
- Get-SqlDscDatabasePermission
- Get-SqlDscManagedComputer
- Get-SqlDscManagedComputerService
- Get-SqlDscPreferredModule
- Get-SqlDscServerPermission
- Get-SqlDscStartupParameter
- Get-SqlDscTraceFlag
- Import-SqlDscPreferredModule
- Initialize-SqlDscRebuildDatabase
- Install-SqlDscServer
- Invoke-SqlDscQuery
- New-SqlDscAudit
- Remove-SqlDscAudit
- Remove-SqlDscNode
- Remove-SqlDscTraceFlag
- Repair-SqlDscServer
- Save-SqlDscSqlServerMediaFile
- Set-SqlDscAudit
- Set-SqlDscDatabasePermission
- Set-SqlDscServerPermission
- Set-SqlDscStartupParameter
- Set-SqlDscTraceFlag
- Test-SqlDscIsDatabasePrincipal
- Test-SqlDscIsLogin
- Test-SqlDscIsSupportedFeature
- Uninstall-SqlDscServer
- SqlAG
- SqlAGDatabase
- SqlAgentAlert
- SqlAgentFailsafe
- SqlAgentOperator
- SqlAGListener
- SqlAGReplica
- SqlAlias
- SqlAlwaysOnService
- SqlAudit
- SqlConfiguration
- SqlDatabase
- SqlDatabaseDefaultLocation
- SqlDatabaseMail
- SqlDatabaseObjectPermission
- SqlDatabasePermission
- SqlDatabaseRole
- SqlDatabaseUser
- SqlEndpoint
- SqlEndpointPermission
- SqlLogin
- SqlMaxDop
- SqlMemory
- SqlPermission
- SqlProtocol
- SqlProtocolTcpIp
- SqlReplication
- SqlRole
- SqlRS
- SqlRSSetup
- SqlScript
- SqlScriptQuery
- SqlSecureConnection
- SqlServiceAccount
- SqlSetup
- SqlTraceFlag
- SqlWaitForAG
- SqlWindowsFirewall