You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HostsFile Get-TargetResource returns an array for HostName if there is one or more spaces at the beginning of the line. This formatting appears to come from the PowerToys Hosts File Editor.
Problem description
HostsFile Get-TargetResource returns an array for HostName if there is one or more spaces at the beginning of the line. This formatting appears to come from the PowerToys Hosts File Editor.
Verbose logs
DSC configuration
n/a
Suggested solution
Run Trim before Split.
Operating system the target node is running
PowerShell version and build the target node is running
NetworkingDsc version
The text was updated successfully, but these errors were encountered: