mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Merge pull request #966 from sehgalnamit/patch-1
Deleting codes for removing servuce endpoints
This commit is contained in:
@@ -846,13 +846,6 @@ function VerifyRouteTable {
|
||||
}
|
||||
|
||||
|
||||
function PrepareServiceEndpoints
|
||||
{
|
||||
param($subnet)
|
||||
Write-Host "Removing service endpoints."
|
||||
$subnet.ServiceEndpoints.Clear()
|
||||
}
|
||||
|
||||
function PrepareServiceDelegation
|
||||
{
|
||||
param($subnet)
|
||||
@@ -1030,10 +1023,6 @@ If($isValid -ne $true)
|
||||
|
||||
If ($applyChanges)
|
||||
{
|
||||
If($isOkServiceEndpoints -ne $true)
|
||||
{
|
||||
PrepareServiceEndpoints $subnet
|
||||
}
|
||||
|
||||
If($isOkNSG -ne $true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user