Duplications in Transcript
Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all open and closed issues to ensure it has not already been reported.
- [X] I have read the troubleshooting guide.
- [ ] I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- [ ] I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- [ ] If this is a security issue, I have read the security issue reporting guidance.
Summary
A very minor issue, but if a script under debug contains a Start-Transcript call, and there is no corresponding Stop-Transcript, the transcript continues until the Powershell session ends. If the Stop-Transcript is never reached because the debugger is stopped, transcription continues.
The unstopped transcription then appears to contain all subsequent steps issued by the extension, such as frequent Get-Command/Get-Variable calls (which I assume are syntax/completion-related) and all manner of numbers (possibly line/char positions).
The transcript also appears to contain significant duplication of the test output.
The transcript continues until Stop-Transcript is manually issued in the terminal, a subsequent script with Stop-Transcript is allowed to run, or the terminal panel/vscode app is closed.
Subsequent runs of the same script will create multiple "nested" transcripts -- each will run until an associated Stop-Transcript is called.
It would be useful if the debugger could track the Start-Transcript and Stop-Transcript calls encountered during the debug run, and issue any missing Stop-Transcript calls itself at the end. If the debugger could also write a message to the terminal and/or output panel when this has happened, this might allow people to identify transcript "leaks" in their scripts.
Care may be needed to only stop transcripts that were started in the debugging session -- hence why I suggest this should be tracked by the debugger. For example, if Start-Transcript is called manually in the terminal (e.g. before the script is run), it may preferable to allow these to continue, as if that were the end-user's intent.
PowerShell Version
Name Value
---- -----
PSVersion 5.1.19041.2673
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.2673
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Visual Studio Code Version
1.75.1
441438abd1ac652551dbe4d408dfcec8a499b8bf
x64
Extension Version
[email protected]
Steps to Reproduce
- Create and save an arbitrary script with a
Start-Transcriptcall, e.g. ...Start-Transcript -OutputDirectory d:\transcripts -NoClobber Write-Host 'TESTME: 1' Write-Host 'TESTME: 2' Stop-Transcript - Set a breakpoint on the first line of the script
- Start the debugger
- Step past the the
Start-Transcriptcall - Before the end of the script, stop the debugger
- Perform arbitrary editing of the script
- Repeat steps 3-5, as desired
- Observe the resulting transcripts
Visuals
No response
Logs
**********************
Windows PowerShell transcript start
Start time: 20230523172636
Username: MYCOMPUTER\jimbobmcgee
RunAs User: MYCOMPUTER\jimbobmcgee
Configuration Name:
Machine: MYCOMPUTER (Microsoft Windows NT 10.0.19045.0)
Host Application: C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -ExecutionPolicy Bypass -Command Import-Module 'd:\Users\jimbobmcgee\.vscode\extensions\ms-vscode.powershell-2023.5.0\modules\PowerShellEditorServices\PowerShellEditorServices.psd1'; Start-EditorServices -HostName 'Visual Studio Code Host' -HostProfileId 'Microsoft.VSCode' -HostVersion '2023.5.0' -AdditionalModules @('PowerShellEditorServices.VSCode') -BundledModulesPath 'd:\Users\jimbobmcgee\.vscode\extensions\ms-vscode.powershell-2023.5.0\modules' -EnableConsoleRepl -StartupBanner "PowerShell Extension v2023.5.0
Copyright (c) Microsoft Corporation.
https://aka.ms/vscode-powershell
Type 'help' to get help.
" -LogLevel 'Normal' -LogPath 'd:\Users\jimbobmcgee\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\logs\1684777213-7df80689-72f5-4385-977b-6b05a2e9eeb11684777202545\EditorServices.log' -SessionDetailsPath 'd:\Users\jimbobmcgee\AppData\Roaming\Code\User\globalStorage\ms-vscode.powershell\sessions\PSES-VSCode-29160-310384.json' -FeatureFlags @()
Process ID: 12644
PSVersion: 5.1.19041.2673
PSEdition: Desktop
PSCompatibleVersions: 1.0, 2.0, 3.0, 4.0, 5.0, 5.1.19041.2673
BuildVersion: 10.0.19041.2673
CLRVersion: 4.0.30319.42000
WSManStackVersion: 3.0
PSRemotingProtocolVersion: 2.3
SerializationVersion: 1.1.0.1
**********************
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
Transcript started, output file is D:\transcripts\PowerShell_transcript.MYCOMPUTER.B80TStah.20230523172636.txtCommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Global"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Script"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
TESTME: 1CommandInvocation(Get-Variable): "Get-Variable"
>> ParameterBinding(Get-Variable): name="Scope"; value="Local"
]633;E;. 'D:\x5ctests\x5cTest-TranscriptDebug.ps1']633;D;0]633;APS SQLSERVER:\> ]633;B
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 10
0
TESTME: 1Stop-Transcript
**********************
Windows PowerShell transcript end
End time: 20230523172708
**********************
Thanks for opening this issue @jimbobmcgee and thanks for providing so much detail and repro steps, this is an expecting behavior, you could try something like this
Start-Transcript -OutputDirectory d:\transcripts -NoClobber
try {
Write-Host 'TESTME: 1'
Write-Host 'TESTME: 2'
}
finally {
Stop-Transcript
}
The duplications in the transcript is a bug
The finally block does indeed appear to run when the debugger is stopped, so this is a workaround in many cases, assuming the script under debug can be changed.
However, it may be surprising to some that stopping the debugger does not revert the terminal pane to the state it was in before the debug session was started. I suppose this is simply an artefact of the Powershell extension being built around the terminal pane, rather than implementing its own isolated host.
It is also noteworthy that, if there happens to be a breakpoint in that finally block, when the debugger is stopped, the extension hangs until the stop button is pressed again (i.e. interrupt vs terminate). In that case, the transcript remains regardless.
In any case, thanks for looking.