Skip to content

Instantly share code, notes, and snippets.

@jibinpb
Created June 5, 2018 01:22
Show Gist options
  • Save jibinpb/8d62510d4e7ea14c825c7e775697a758 to your computer and use it in GitHub Desktop.
Save jibinpb/8d62510d4e7ea14c825c7e775697a758 to your computer and use it in GitHub Desktop.
Get Trusted Sites list from Internet Options
<##
0 = My Computer
1 = Local Intranet Zone
2 = Trusted sites Zone
3 = Internet Zone
4 = Restricted Sites Zone
##>
Get-ItemProperty "Registry::HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\ZoneMapKey"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment