You can try manually adding the https: as well...

 Code:
$temp = $temp + WRITEVALUE ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\johndoe.com","*","1","REG_DWORD") 
$temp = $temp + WRITEVALUE ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\johndoe.com","http","1","REG_DWORD") 
$temp = $temp + WRITEVALUE ("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMap\Domains\johndoe.com","https","1","REG_DWORD")


What exactly is not working? Is it not showing up in the list at all? Anything with a 1 as the value should be added to Local Intranet...a 2 is added to trusted...etc..