I have been developing a script on a 2012R2 server. Within this script I have been using the Start-Transcript and Stop-Transcript CMD-LETS via ISE without a problem.
After transferring the script to another 2012R2 server I have an issue running the script via ISE;
Start-Transcript : Transcription cannot be started.
It works directly on the console, but not via ISE.
Doing a bit of googling, I understand that Start-Transcript is not supported in the ISE on V4 and below.
What is confusing me is when I do a $PSVersionTable.PSVersion the Major is 4 on both the original server that I developed the script on and the new server…
What am I missing / doing wrong?
Also - Upgrading to Major 5 + may not be an option on the new server.