so that's my solution I came up with and it works pretty well:
$ComputerName = 'MyComputer' test-connection ([System.Net.Dns]::GetHostByName($ComputerName)).Hostname
If someone has a shorter/quicker/better solution leave a comment
$ComputerName = 'MyComputer' test-connection ([System.Net.Dns]::GetHostByName($ComputerName)).Hostname