Forum Discussion

pratikdarak21's avatar
pratikdarak21
Brass Contributor
Feb 13, 2024

Issue with Write-Host while using Get-Secret in PowerShell Version 5.1.14409.2001

Hi Team,   I have below lines of code in PowerShell script. While running the script in there is no message getting output for Write-Host for PS version 5.1.14409.2001. But, script is working fine ...
  • pratikdarak21's avatar
    pratikdarak21
    Mar 01, 2024
    To solve the above issue, I have changed position of one line of code starting with "Get-Secret" above the Start-Transcript. This is workaround I have used for PS 5.1.14409.2001.

Resources