Examples/Resources/cVMNetworkAdapterVlan/VMNetworkAdapterVlanManagementOS.Example.ps1
Configuration HostOSAdapterVlan { Import-DscResource -ModuleName cHyper-V -Name cVMNetworkAdapterVlan Import-DscResource -ModuleName PSDesiredStateConfiguration cVMNetworkAdapterVlan HostOSAdapterVlan { Id = 'Management-NIC' Name = 'Management-NIC' VMName = 'ManagementOS' AdapterMode = 'Access' VlanId = 10 } } |