You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
V i r t u a l N e t w o r k N a m e Space " C W U S 2 S t a g i n g - v n e t " Space ` Enter
Space Space Space Space - S u b n e t N a m e Space " d e f a u l t " Space ` Enter
Space Space Space Space - S e c u r i t y G r o u p N a m e Space " C W U S 2 - V G - P a x 0 1 - n s g " Space ` Enter
Space Space Space Space - P u b l i c I p A d d r e s s N a m e Space " m y I m a g e P I P $ i " Space ` Enter
Space Space Space Space - O p e n P o r t s Space 3 3 8 9 Enter
Space Space Space Space - C r e d e n t i a l Space $ c r e d Enter
}
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -1.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics, CancellationToken cancellationToken)
The text was updated successfully, but these errors were encountered:
$counts=1,2,..20
$cred = Get-Credential
foreach ($count in $counts)
{
New-AzureRmVm
-ResourceGroupName "CWUSStaging"
-Name "CWUS2-VG-Pax$i"
-ImageName "PaxtonVmImage"
-Location "East US 2"
-VirtualNetworkName "CWUS2Staging-vnet"
-SubnetName "default"
-SecurityGroupName "CWUS2-VG-Pax01-nsg"
-PublicIpAddressName "myImagePIP$i" `
-OpenPorts 3389
-Credential $cred
}
If i ran that script in Azure Cloud shell i get the following error
Oops, something went wrong. Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
Last 200 Keys:
Exception:
The text was updated successfully, but these errors were encountered: