These 2 properties appear to be set to the same values on a standard Windows domain environment. Can they be different? How can they be set to different values?
e.g.
$computer = Get-WMIObject Win32_ComputerSystem
$computer.Name
$computer.DNSHostName
They appear to be different properties, though presumably they will have the same value. Win32_ComputerSystem Doc
DNSHostName:
Name:
Document states both properties are read-only.
Get-Member
suggests they are set-able, but I'd be skeptical.