mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
fix
This commit is contained in:
@@ -55,7 +55,7 @@ $parameters = @{
|
||||
subnetName = '<subnetName>'
|
||||
}
|
||||
|
||||
Invoke-Command -ScriptBlock ([Scriptblock]::Create((New-Object System.Net.WebClient).DownloadString($scriptUrlBase+'/prepareSubnet.ps1?t='+ [DateTime]::Now.Ticks))) -ArgumentList $parameters
|
||||
Invoke-Command -ScriptBlock ([Scriptblock]::Create((iwr ($scriptUrlBase+'/prepareSubnet.ps1?t='+ [DateTime]::Now.Ticks)).Content)) -ArgumentList $parameters
|
||||
|
||||
```
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ function Ensure-Login ()
|
||||
Write-Host "Loging in ..."
|
||||
Try
|
||||
{
|
||||
Login-AzureRmAccount -ErrorAction Stop | Out-null
|
||||
Login-AzureRmAccount -ErrorAction SilentlyContinue | Out-null
|
||||
}
|
||||
Catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user