Issue with Get-WUHistory and Start-Transcript

I am hoping someone on this forum can simply validate what I am seeing. I am using Get-WUHistory from the PSWindowsUpdate Module. In my script, I use Start-Transcript as part of my logging engine. What I am seeing is the when I call Get-WUHistory, it stops the transcript. Can anyone validate this behavior? I am only seeing this in Windows Powershell (V5.1), I am not seeing this in PowerShell 7. Sadly, my script needs to support 5.1.

Something this simple should validate:

Start-Transcript
Get-WUHistory
Stop-Transcript

Thanks in advance. I certainly don’t expect anyone to install the module to validate this, just hoping somebody that already uses can validate.

You’re have an “S” instead of an “A” in the first command!

Thanks for that, fixed the typo.

either this is you @tonyd or other people have the same issue:

The project hasn’t seen an update in over 2 years and none of the issues seem to be getting addressed.

Yup, that was me. I figured I best try the source as I am sure Olaf was going to suggest that :slight_smile: And yes, I see it is likely a dead project, I noticed that as well. I will go ahead and close this and find another way. Thanks Courtney.