Like most large enterprises, we use a group policies to manage Internet Explorer settings. We manage the security settings, and we enforce which sites are in Trusted Sites and the other internet zones. The user cannot change the list, or even view the list. This creates a problem for troubleshooting when a user has opened a ticket reporting that the website needs to be added to trusted sites. IT staff wants to know whether the site is already in the proper zone, and whether the GPO applied properly.
Get-IEZones.ps1 is a PowerShell script which will let you view the IE zone information from the local or a remote computer. The script uses the WMI accelerator instead of a registry cmdlet to read this data from the registry. Out-GridView displays the results which can be copied to your clipboard.