Skip to content

Commit

Permalink
Fix argument IACKNOWLEDGEENTCALLIMITS
Browse files Browse the repository at this point in the history
  • Loading branch information
johlju committed Sep 18, 2022
1 parent b0fb8c1 commit 51ef128
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
11 changes: 10 additions & 1 deletion source/Public/Install-SqlDscServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,15 @@ function Install-SqlDscServer
[System.Management.Automation.SwitchParameter]
$SuppressPrivacyStatementNotice,

[Parameter(ParameterSetName = 'Install')]
[Parameter(ParameterSetName = 'InstallRole')]
[Parameter(ParameterSetName = 'PrepareImage')]
[Parameter(ParameterSetName = 'InstallFailoverCluster')]
[Parameter(ParameterSetName = 'PrepareFailoverCluster')]
[Parameter(ParameterSetName = 'AddNode')]
[System.Management.Automation.SwitchParameter]
$IAcknowledgeEntCalLimits,

[Parameter(Mandatory = $true)]
[ValidateScript({
if (-not (Test-Path -Path (Join-Path -Path $_ -ChildPath 'setup.exe')))
Expand Down Expand Up @@ -1262,7 +1271,7 @@ function Install-SqlDscServer
Excluding parameter names that shall be handled differently, those arguments
shall not have any value after argument name, e.g. '/ENU'.
#>
{ $parameterName -in @('UPDATEENABLED', 'PBSCALEOUT', 'SQLSVCINSTANTFILEINIT', 'ALLOWUPGRADEFORSSRSSHAREPOINTMODE', 'ADDCURRENTUSERASSQLADMIN') } # cspell: disable-line
{ $parameterName -in @('UPDATEENABLED', 'PBSCALEOUT', 'SQLSVCINSTANTFILEINIT', 'ALLOWUPGRADEFORSSRSSHAREPOINTMODE', 'ADDCURRENTUSERASSQLADMIN', 'IACKNOWLEDGEENTCALLIMITS') } # cspell: disable-line
{
$setupArgument += '={0}' -f $PSBoundParameters.$parameterName.ToString()

Expand Down
Loading

0 comments on commit 51ef128

Please sign in to comment.