Is there a PowerShell cmdlet to enable Hyper-V "Enhanced Session Mode Policy"?

05
2014-04
  • Matze2ooo

    I am running Hyper-V on a Windows Server 2012 R2 system, which is getting staged via SCCM. Now I am wondering if there is a way to enable enhanced session mode policy using powershell. Unfortunately i cant find anything on technet http://technet.microsoft.com/en-us/library/hh848559.aspx and nothing within "get-command -module hyper-v"

  • Answers
  • Dave Rook

    As easy as

    Set-VMhost -EnableEnhancedSessionMode $TRUE 
    

  • Related Question

    enable powershell tab-completion for invisible files and folders
  • wcoenen

    I just noticed that the powershell tab-completion doesn't work for invisible files and folders.

    Is there any way to fix this?


  • Related Answers
  • jamason1983

    This feature is not avilable in the Default PowerShell Host. But is avilable in PowerGUI... Sadly PowerGUI is more of a script editor than a Shell Console. But it does have the added benifite of a more advanced Visual Studio style IntelliSense.