[Info - 7:14:58 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: PowerShell runtime version: 5.1.19041.546, edition: Desktop | [Info - 7:14:59 AM] Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentHighlightHandler: highlight handler loaded | [Info - 7:15:05 AM] Microsoft.PowerShell.EditorServices.Services.AnalysisService: PSScriptAnalyzer settings file not found. Falling back to default rules | [Error - 7:15:05 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 14 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='14' [Error - 7:15:05 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:16:25 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 22 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='22' [Error - 7:16:25 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:16:28 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 23 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='23' [Error - 7:16:28 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:16:31 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 32 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='32' [Error - 7:16:31 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:16:51 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 37 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='37' [Error - 7:16:51 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:14 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 46 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='46' [Error - 7:17:14 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:14 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 47 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='47' [Error - 7:17:14 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:14 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 48 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='48' [Error - 7:17:14 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:16 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 49 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='49' [Error - 7:17:16 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:16 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 50 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='50' [Error - 7:17:16 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:17:17 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 51 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='51' [Error - 7:17:17 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:19:27 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: invoke-pester .\tests\help.tests.ps1 -for Out-Default | [Error - 7:19:35 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: invoke-pester .\tests\help.tests.ps1 -for Out-Default | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:22 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:24 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:28 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:32 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:35 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:35 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:35 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:35 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:36 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:50 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:20:57 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:58 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:20:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:03 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:03 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:03 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:03 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:29 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:31 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:32 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:32 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:32 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:33 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:34 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:34 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:34 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:34 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:46 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:47 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:48 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:49 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:55 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:56 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:21:59 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:00 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:02 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:04 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:06 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:07 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:08 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:10 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:17 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:18 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:19 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:20 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:22:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:23:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:23:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:24:01 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:24:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:24:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:25:20 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 790 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='790' [Error - 7:25:20 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:25:51 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 905 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='905' [Error - 7:25:51 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:26:32 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 1012 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='1012' [Error - 7:26:32 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:26:59 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 1093 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='1093' [Error - 7:26:59 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:27:00 AM] OmniSharp.Extensions.JsonRpc.InputHandler: Failed to handle request textDocument/hover 1094 - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() | Method='textDocument/hover' RequestId='1094' [Error - 7:27:00 AM] Request textDocument/hover failed. Message: Internal Error - System.ArgumentNullException: Pipeline response (OmniSharp.Extensions.LanguageServer.Protocol.Models.Hover) must not be null Parameter name: request at OmniSharp.Extensions.JsonRpc.Pipelines.ResponseMustNotBeNullProcessor`2.Process(T request, R response, CancellationToken cancellationToken) at MediatR.Pipeline.RequestPostProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at MediatR.Pipeline.RequestPreProcessorBehavior`2.d__2.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.LanguageServer.Server.Pipelines.ResolveCommandPipeline`2.d__5.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.RequestRouterBase`1.d__8.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at OmniSharp.Extensions.JsonRpc.InputHandler.<>c__DisplayClass38_0.<b__5>d.MoveNext() Code: -32603 [Error - 7:27:05 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: invoke-pester .\tests\help.tests.ps1 Out-Default | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:13 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:20 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:20 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:20 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:27:21 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:11 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:12 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 13 | [Warn - 7:28:14 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '13' exceeds the number of active scopes. Parameter name: scopeID Actual value was 13. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:15 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 12 | [Warn - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '12' exceeds the number of active scopes. Parameter name: scopeID Actual value was 12. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:16 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 11 | [Warn - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '11' exceeds the number of active scopes. Parameter name: scopeID Actual value was 11. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:30 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 10 | [Warn - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '10' exceeds the number of active scopes. Parameter name: scopeID Actual value was 10. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:37 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 9 | [Warn - 7:28:38 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '9' exceeds the number of active scopes. Parameter name: scopeID Actual value was 9. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:39 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 8 | [Warn - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '8' exceeds the number of active scopes. Parameter name: scopeID Actual value was 8. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:40 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:41 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:42 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:52 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 2 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '2' exceeds the number of active scopes. Parameter name: scopeID Actual value was 2. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 3 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '3' exceeds the number of active scopes. Parameter name: scopeID Actual value was 3. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 4 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '4' exceeds the number of active scopes. Parameter name: scopeID Actual value was 4. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 5 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '5' exceeds the number of active scopes. Parameter name: scopeID Actual value was 5. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 6 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '6' exceeds the number of active scopes. Parameter name: scopeID Actual value was 6. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Execution of the following command(s) completed with errors: Get-Variable -Scope 7 | [Warn - 7:28:53 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Runtime exception occurred while executing command: System.Management.Automation.CmdletInvocationException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. ---> System.Management.Automation.PSArgumentOutOfRangeException: The scope number '7' exceeds the number of active scopes. Parameter name: scopeID Actual value was 7. at System.Management.Automation.SessionStateInternal.GetScopeByID(Int32 scopeID) at System.Management.Automation.SessionStateInternal.GetScopeByID(String scopeID) at System.Management.Automation.SessionStateInternal.GetVariableTableAtScope(String scopeID) at Microsoft.PowerShell.Commands.VariableCommandBase.GetMatchingVariables(String name, String lookupScope, Boolean& wasFiltered, Boolean quiet) at Microsoft.PowerShell.Commands.GetVariableCommand.ProcessRecord() at System.Management.Automation.CommandProcessor.ProcessRecord() --- End of inner exception stack trace --- at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.Invoke[T](IEnumerable input, PSInvocationSettings settings) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() | [Error - 7:28:54 AM] Microsoft.PowerShell.EditorServices.Services.PowerShellContextService: Exception occurred while executing debugger command: System.Management.Automation.CommandNotFoundException: The term '__Invoke-ReadLineForEditorServices' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again. at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input) at System.Management.Automation.PowerShell.Worker.ConstructPipelineAndDoWork(Runspace rs, Boolean performSyncInvoke) at System.Management.Automation.PowerShell.CoreInvokeHelper[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.CoreInvoke[TInput,TOutput](PSDataCollection`1 input, PSDataCollection`1 output, PSInvocationSettings settings) at System.Management.Automation.PowerShell.InvokeWithDebugger(IEnumerable`1 input, IList`1 output, PSInvocationSettings settings, Boolean invokeMustRun) at System.Management.Automation.ScriptDebugger.ProcessCommand(PSCommand command, PSDataCollection`1 output) at Microsoft.PowerShell.EditorServices.Services.PowerShellContext.PowerShell5Operations.ExecuteCommandInDebugger[TResult](PowerShellContextService powerShellContext, Runspace currentRunspace, PSCommand psCommand, Boolean sendOutputToHost, Nullable`1& debuggerResumeAction) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.ExecuteCommandInDebugger[TResult](PSCommand psCommand, Boolean sendOutputToHost) at Microsoft.PowerShell.EditorServices.Services.PowerShellContextService.d__89`1.MoveNext() |