Does the last Powershell script export only the names of the accounts that have the ADSI objects configured or does it export everything and then it just needs sorted?
Also, will running the script have any performance impact on other AD functions? If so, I can just run it at an odd time.
Thanks for the help.
Main Topics
Browse All Topics





by: Chris-DentPosted on 2009-11-16 at 05:37:29ID: 25830040
You probably want some kind of script to deal with this. If you don't have much or any experience with Scripting you might consider getting PowerShell:
http://support.microsoft.c
If you grab that, and these:
http://www.quest.com/power
Which will, finally, allow you to run something like this:
Get-QADUser -LdapFilter "(|(msiis-ftproot=*)(msiis
What are you interested in seeing on the accounts? This will return the users Name, Distinguished Name and those two values:
Get-QADUser -LdapFilter "(|(msiis-ftproot=*)(msiis
-IncludedProperties "msiis-ftproot", "msiis-ftpdir" | Select-Object Name, DN, "msiis-ftproot", "msiis-ftpdir"
That can be exported to a CSV file for use in Excel:
Get-QADUser -LdapFilter "(|(msiis-ftproot=*)(msiis
-IncludedProperties "msiis-ftproot", "msiis-ftpdir" | `
Select-Object Name, DN, "msiis-ftproot", "msiis-ftpdir" | `
Export-CSV "SomeFile.csv"
Note that the ` character allows the single command above to span multiple lines. It must be included, but has no other purpose here.
HTH
Chris