From 183a8dd5430504deb069e8fb3431b29243b89a09 Mon Sep 17 00:00:00 2001 From: CarlRabeler Date: Mon, 11 Mar 2019 14:45:18 -0700 Subject: [PATCH] more --- .../attach-vpn-gateway/attachVPNGatewayAz.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/attachVPNGatewayAz.ps1 b/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/attachVPNGatewayAz.ps1 index ba2fbdd0..6cfd2ab4 100644 --- a/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/attachVPNGatewayAz.ps1 +++ b/samples/manage/azure-sql-db-managed-instance/attach-vpn-gateway/attachVPNGatewayAz.ps1 @@ -24,7 +24,7 @@ function VerifyPSVersion function Ensure-Login () { - $context = Get-AzureRmContext + $context = Get-AzContext If($context.Subscription -eq $null) { Write-Host "Loging in ..."