Testing Download Templates

Filename d-s50962303c784c89b
Filesize 2 KB
Version 2.0 Previous versions
Date added July 23, 2016
Downloaded 319 times
Category Miscellaneous
Note: Version 1.x of this script is specific to XenApp 6.5

NAME
Get-FRErrorsV2.ps1

SYNOPSIS
Find Folder Redirection errors on computers in Microsoft Active Directory.

SYNTAX
C:\ScriptTesting\Get-FRErrorsV2.ps1 [-StartDate <DateTime>] [-EndDate <DateTime>] [-ComputerName <String>] [-InputFile <String>] [-OrganizationalUnit <String>] [-Folder <String>] [<CommonParameters>]

DESCRIPTION
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.