- IE is instructed to render the report in IE5 Quirks Mode.
- A mark-of-the-web meta tag is added to eliminate the need to unblock the VBScript responsible for Expand/Collapse, Tooltips, Printing, LTR/RTL adjustments, and keypress support.
To save time, the user is also prompted about whether or not they want to open newly generated HTML reports in Microsoft Edge. Edge instances launched this way run with restricted permissions regardless of the elevation of the PowerShell Console.
William P. Marshall
2018-2022 Industrial Info Resources, Inc.
GroupPolicy GPO RSoP ActiveDirectory Reporting HTML XML Windows
This script has no dependencies.
1.7.1 - Updated documentation.
1.7.0 - Changed script to prompt to open in Microsoft Edge. Updated mark-of-the-web entry to specify local intranet, allowing VBScript to work in IE Mode without forcing users to edit Group Policy. Edited page header to include the words "(Requires IE Mode)" when the page needs to be opened in IE Mode. Removed the incorrect warning that Get-GPResultantSetOfPolicy-generated reports require IE.
1.6.7 - Added Quiet switch to disable prompt to open report in IE.
1.6.6 - Code Signing now includes a Timestamp for longevity.
1.6.5 - Migrated from Invoke-Expression to Invoke-Command and from Write-Host to Write-Output. This resolves all warnings flagged by PSScriptAnalyzer.
1.6.4 - Script is now signed.
1.6.3 - Removed the "using:" prefix from variables passed to Get-GPResultantSetOfPolicy as parameter values. Additionally removed the Requires clauses for built-in PowerShell Modules. Both of these were causing issues when tested on Windows Server 2012 R2 and removing them resolved the problems.
1.6.1 - The script now uses the "runas" command to launch IE instances with restricted permissions instead of elevated permissions. See https://stackoverflow.com/a/20218503 for details.
|1.7.1 (current version)||90||6/13/2022|