Skip to content

Commit

Permalink
Cleanup. Review ready.
Browse files Browse the repository at this point in the history
  • Loading branch information
luisgmsft committed May 14, 2018
1 parent e6db492 commit ee2dfb3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 23 deletions.
24 changes: 1 addition & 23 deletions scripts/windows/dsc/PrepareSQLServer.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Binary file modified scripts/windows/dsc/PrepareSQLServer.ps1.zip
Binary file not shown.

0 comments on commit ee2dfb3

Please sign in to comment.