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

VMHostConfiguration DSC Resource #221

Closed SimeonGerginov closed 4 years ago

SimeonGerginov commented 4 years ago

Added

SimeonGerginov commented 4 years ago

Example usage of VMHostConfiguration DSC Resource:

VMHostConfiguration VMHostConfiguration {
    Server = $Server
    Credential = $Credential
    Name = $Name
    State = 'Connected'
    LicenseKey = '00000-00000-00000-00000-00000'
    TimeZoneName = 'UTC'
    VMSwapfileDatastoreName = $DatastoreName
    VMSwapfilePolicy = 'InHostDatastore'
    HostProfileName = $HostProfileName
    KmsClusterName = $KmsClusterName
}