Examples/Resources/cVMSwitch/PrivateSwitch.Example.ps1
1 2 3 4 5 6 7 8 9 10 11 12 |
Configuration PrivateSwitch { Import-DscResource -ModuleName cHyper-V -Name cVMSwitch Import-DscResource -ModuleName PSDesiredStateConfiguration cVMSwitch HostSwitch { Name = 'HostSwitch' Type = 'Private' Ensure = 'Present' } } |