Finding Microsoft Home Folder Errors Using Microsoft PowerShell V2.0

About a year ago, I released V1.0 of this script and stated if I ever found the time I would update it to not require XenApp 6.5. Finally, through the generosity of my employer, Choice Solutions, I took the time between customer calls to update this script (and two others).

I added three parameters from the Get-ServiceWithAccountName script to make this script more generic.

By default, the script will search all computers in AD that have “server” in the OperatingSystem property. Use -ComputerName to restrict the search to a specific group of computers. For example, -ComputerName “ctx” will limit the search to only computers that have “ctx” somewhere in the DNSHostName property.

Using -InputFile allows you to create a text file containing computer name to search. The computer names can be NetBIOS or Fully Qualified Domain Name. The names contained in the file are not validated. Using -ComputerName will filter the names retrieved from the InputFile.

Using -OrganizationalUnit will restrict the search to computers contained in an OU tree. For example, -OrganizationalUnit “ou=RDS Servers,dc=domain,dc=tld” restricts the computers searched to all computers in that OU tree.

This script is in the Miscellaneous section of the downloads page.

You can always find the most current script by going to http://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/

Thanks

Webster

About Carl Webster

Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

View all posts by Carl Webster

No comments yet.

Leave a Reply