dinsdag 21 november 2017

Add Fibre channel Adapter Hyper-v 2016

When you want to add an Virtual Fibre adapter to an VM you will get an error like


When this happens you have to set the VirtualizationBasedSecurityOptOut  to $true:
Set-VMSecurity -vmname "vmname" -VirtualizationBasedSecurityOptOut $true


After changing this you will be able to add an virtual fibre channel adapter







2 opmerkingen:

  1. The term 'Get-VM' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again."after entering command as mentioned by you.

    BeantwoordenVerwijderen
  2. Hi Unknow,
    you have to use: Set-VMSecurity -vmname "vmname" -VirtualizationBasedSecurityOptOut $true

    you can validate if it's set by running the following command: get-VMSecurity -vmname "vmname".

    you have to run these commands on the hyper-v server itself. and this is only applicable on windows server 2016!

    BeantwoordenVerwijderen