$GetName = (get-ItemProperty hklm:\SOFTWARE\Microsoft\MPSD\OSD).OSDComputerName
$Find = Get-ADComputer ($GetName).DistinguishedName
$Find
On line 2 above I've also tried
$Find = Get-ADComputer $GetName.DistinguishedName
Both return all day and I only want the DistinguishedName