From d4507d37b1f9997d876405f4b257ac033b84de25 Mon Sep 17 00:00:00 2001 From: "Fan Yang (AZURE)" Date: Wed, 17 Sep 2025 17:52:19 -0700 Subject: [PATCH] Use same config --- GetNetworkManagerScope.json | 7 ------- GetNetworkManagerScope.ps1 | 4 ++-- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 GetNetworkManagerScope.json diff --git a/GetNetworkManagerScope.json b/GetNetworkManagerScope.json deleted file mode 100644 index ddff58e..0000000 --- a/GetNetworkManagerScope.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "subsid": "", - "resourceGroupName": "", - "networkManagerName": "", - "outputPath": "./scope.json" -} - \ No newline at end of file diff --git a/GetNetworkManagerScope.ps1 b/GetNetworkManagerScope.ps1 index e04218c..34c5612 100644 --- a/GetNetworkManagerScope.ps1 +++ b/GetNetworkManagerScope.ps1 @@ -2,7 +2,7 @@ #// Licensed under the MIT license. # Setup - $configPath = '.\GetNetworkManagerScope.json' + $configPath = '.\ScopeValidation.json' try { @@ -13,7 +13,7 @@ Write-Host "ResourceGroup Id: " $rgname $networkManagerName = $configs["networkManagerName"] Write-Host "NetworkManager Name: " $NetworkManagerName - $outputPath = $configs["outputPath"] + $outputPath = $configs["scopePath"] Write-Host "OutputPath: " $outputPath } catch