The DSC cHostsFile resource type. Automatically generated from version 3.7.8.4
Properties
dsc_ensure
Ensure Host Entry is Present or Absent.
dsc_ipaddress
IP Address for reference.
dsc_reference
Reference type for DnsServer. When Reference is DnsServer, resolve DNS with selected server. When Reference is StaticIp, no resolve and just added IP Address
Parameters
dsc_hostname (namevar)
HostName to be redirected.
dsc_psdscrunascredential
name (namevar)
Description of the purpose for this resource declaration.
validation_mode (defaults to: property)
Whether to check if the resource is in the desired state by property (default) or using Invoke-DscResource in Test mode (resource).