New-VMSwitch Kills Transcripting

Welcome Forums General PowerShell Q&A New-VMSwitch Kills Transcripting

This topic contains 1 reply, has 2 voices, and was last updated by

4 years, 11 months ago.

  • Author
  • #14592

    Points: 0
    Rank: Member


    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"

    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?

  • #14627

    Points: 0
    Rank: Member

    Not been able to reproduce with PS 4 on Windows 8.1

The topic ‘New-VMSwitch Kills Transcripting’ is closed to new replies.

denizli escort samsun escort muğla escort ataşehir escort kuşadası escort