-
-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
On PowerShell 5.1, if I call Get-WUHistory after calling Start-Transcript, when executing Stop-Transcript, it shows the Transcript has already been terminated. This simple script will validate the issue
Start-Transcript
Get-WUHistory
Stop-Transcript
The following error is generated:
Stop-transcript : An error occurred stopping transcription: The host is not currently transcribing.
At line:1 char:1
+ Stop-transcript
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [Stop-Transcript], PSInvalidOperationException
+ FullyQualifiedErrorId : InvalidOperation,Microsoft.PowerShell.Commands.StopTranscriptCommand
Is this module even maintained anymore? I still need to support PS 5.1. This issue is NOT present in PS 7.
Thanks
Metadata
Metadata
Assignees
Labels
No labels