Examples/Resources/cVMNetworkAdapter/CreateVMNetworkAdapterMultipleManagementOS.Example.ps1
Configuration HostOSAdapter { Import-DscResource -ModuleName cHyper-V -Name cVMNetworkAdapter Import-DscResource -ModuleName PSDesiredStateConfiguration cVMNetworkAdapter ManagementAdapter { Id = 'Management-NIC' Name = 'Management-NIC' SwitchName = 'SETSwitch' VMName = 'ManagementOS' Ensure = 'Present' } cVMNetworkAdapter ClusterAdapter { Id = 'Cluster-NIC' Name = 'Cluster-NIC' SwitchName = 'SETSwitch' VMName = 'ManagementOS' Ensure = 'Present' } } |