vmware / dscr-for-vmware

The Repository contains Microsoft PowerShell Desired State Configuration (DSC) Resources for managing VC and ESXi settings.
Other
140 stars 41 forks source link

VMHostVssNic DSC Resource #191

Closed SimeonGerginov closed 5 years ago

SimeonGerginov commented 5 years ago

Added

Changed

SimeonGerginov commented 5 years ago

Example usage of VMHostVssNic DSC Resource:

VMHostVssNic VMHostVssNic {
    Server = $Server
    Credential = $Credential
    VMHostName = $Name
    VssName = 'MyVirtualSwitch'
    PortGroupName = 'MyVirtualPortGroup'
    Ensure = 'Present'
    IP = '192.168.0.1'
    SubnetMask = '255.255.255.0'
    Mac = '00:50:56:63:5b:0e'
    AutomaticIPv6 = $true
    IPv6 = @('fe80::250:56ff:fe63:5b0e/64', '200:2342::1/32')
    IPv6ThroughDhcp = $true
    Mtu = 4000
    ManagementTrafficEnabled = $true
    FaultToleranceLoggingEnabled = $true
    VMotionEnabled = $true
    VsanTrafficEnabled = $true
}