Hi
I seem to he having a problem with the following. I’m using PowerShell 4 on a WIndows 2012R2 server:
Start-Transcript -path C:\out.txt
Write-Output “START Hyper-V Config …”
New-VMSwitch -Name “VM-PROD-SWITCH” -NetAdapterName “VM-PROD-TEAM” -Notes “VM Production LAN - No Parent OS Access” -AllowManagementOS $false
Write-Output “… VMSwitch Done”
Stop-Transcript
I save this as go.ps1 and launch from an admin command prompt. The script completes perfectly with no errors, yet upon inspection of the transcript all I get is
“START Hyper-V Config …”
I’m wondering if anyone else has experienced this?