Scripts and Other Utilities

Your FREE script downloads are now sponsored by Cohesity.

All downloads are now on Citrix ShareFile.

Please ignore the Filename displayed for the download. WordPress is showing the ShareFile link and not the filename of the download.

All current documentation scripts require PowerShell Version 3 or later and create a Microsoft Word 2010, 2013, or 2016/2019/Word O365 document.

Most documentation scripts will also create formatted text and HTML output so Microsoft Word is not required.

*****All scripts perform best with PowerShell Version 5*****

Each documentation script has up to seven parts:

  1. ReadMe file
  2. Change Log
  3. Unsigned script with PS1 extension
  4. Unsigned script with TXT extension
  5. Signed script with PS1 extension
  6. Signed script with TXT extension
  7. Sample Software Exclusions file with TXT extension (XenApp 6.x scripts only)
Filename d-s129a1787a164684b
Filesize 91 B
Version 2.0 Previous versions
Date added May 18, 2017
Downloaded 647 times
Category Group Policy
Note: Version 1.x of this script is specific to XenApp 6.5


Find Folder Redirection errors on computers in Microsoft Active Directory.

C:ScriptTestingGet-FRErrorsV2.ps1 [-StartDate <DateTime>] [-EndDate <DateTime>] [-ComputerName <String>] [-InputFile <String>] [-OrganizationalUnit <String>] [-Folder <String>] [<CommonParameters>]

By default, builds a list of all computers where "Server" is in the OperatingSystem property unless the ComputerName or InputFile parameter is used.
Process each server looking for Folder Redirection errors (Event ID 502) within, by default, the last 30 days.
Builds a list of unique user names and servers unable to process.
Creates the two text files, by default, in the folder where the script is run.
Optionally, can specify the output folder.
Unless the InputFile parameter is used, needs the ActiveDirectory module.
The script has been tested with PowerShell versions 2, 3, 4, 5, and 5.1.
The script has been tested with Microsoft Windows Server 2008 R2, 2012, 2012 R2, and 2016 and Windows 10 Creators Update.