diff --git a/scripts/windows/dsc/PrepareSQLServer.ps1 b/scripts/windows/dsc/PrepareSQLServer.ps1 index 440c5a30b..da6a4d269 100644 --- a/scripts/windows/dsc/PrepareSQLServer.ps1 +++ b/scripts/windows/dsc/PrepareSQLServer.ps1 @@ -49,33 +49,11 @@ configuration SQLServerPrepareDsc $computerName = $env:COMPUTERNAME $domainUserName = $DomainCreds.UserName.ToString() - # $RebootVirtualMachine = $false - - # if ($DomainName) - # { - # $RebootVirtualMachine = $true - # } - - # #Finding the next avaiable disk letter for Add disk - # $NewDiskLetter = ls function:[f-z]: -n | ?{ !(test-path $_) } | select -First 1 - - # $NextAvailableDiskLetter = $NewDiskLetter[0] - WaitForSqlSetup Node localhost { - # xSqlCreateVirtualDataDisk NewVirtualDisk - # { - # NumberOfDisks = $NumberOfDisks - # NumberOfColumns = $NumberOfDisks - # DiskLetter = $NextAvailableDiskLetter - # OptimizationType = $WorkloadType - # StartingDeviceID = 2 - # RebootVirtualMachine = $RebootVirtualMachine - # } - - xFirewall DatabaseEngineFirewallRule + xFirewall DatabaseEngineFirewallRule { Direction = "Inbound" Name = "SQL-Server-Database-Engine-TCP-In" diff --git a/scripts/windows/dsc/PrepareSQLServer.ps1.zip b/scripts/windows/dsc/PrepareSQLServer.ps1.zip index 572ed2439..b413ab2d5 100644 Binary files a/scripts/windows/dsc/PrepareSQLServer.ps1.zip and b/scripts/windows/dsc/PrepareSQLServer.ps1.zip differ