Welcome to WiseSoft.co.uk!
Register
About
Contact
Donate
Home
Scripts
Articles
Software
Forum
Links
Active Directory Schema Guide
Submit a Script
All Scripts
Active Directory
Computer
Database
Event Logs
Exchange/Email
File System
General
Printer
SQL Server
Account Page
Address Page
COMPlus Page
DialIn Page
Environment Page
General Page
MemberOf Page
Organization Page
Profile Page
RemoteControl Page
Sessions Page
Telephones Page
TerminalServices Page
Batch File
HTA
KiXtart
PowerShell
T-SQL
VB
VBScript
Computer Accounts
Domains, Forests & Trusts
Groups
Monitoring & Replication
Organizational Units
Schema Information
Search
Sites and Subnets
User Accounts
PowerShell
VBScript
VBScript
PowerShell
VBScript
VBScript
VBScript
VBScript
VBScript
PowerShell
VBScript
VBScript
PowerShell
VBScript
HTA
KiXtart
PowerShell
VB
VBScript
VBScript
KiXtart
PowerShell
VBScript
PowerShell
VBScript
Batch File
KiXtart
PowerShell
VBScript
HTA
VB
VBScript
HTA
KiXtart
PowerShell
VBScript
HTA
PowerShell
T-SQL
VBScript
All Articles
Active Directory
Miscellaneous
Programming
Scripting
Security
SQL Server
WiseSoft
Submit Article
All Software
TSQL DDL Code History Tool
Account Management Spreadsheet
Bulk AD Users
Password Control
Script Builder
NTFSFix
TSQL DDL Code History Tool
Bulk AD Users
Password Control
Script Builder
Account Management Spreadsheet
NTFSFix
Scripting
Guestbook
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Bugs
Suggestions
General
Login
User Name:
Password:
Remember me next time
Forgot Password?
Login using OpenID:
Create free account
Exclusive access for registered users
Registered Users:
20870
Click here to find out how you can help support wisesoft.co.uk!
home
recent topics
recent posts
search
faq
AspNetForum v.5.2.7.0
WiseSoft :: Forum
:: Forum
user:
psw:
remember me
|
lost password
|
register
Home
»
Scripting
»
export AD Groups and Members in to Excel
|
3/31/2010 5:03:00 AM
permalink
ajf
Posts 1
guys,
i really like this script(what it can do) but what i would like to know if a versions exists with an inputbox for the export. I need to export several(not all) groups with their content(users and other groups) into excel.
thanks in advance.
4/26/2010 12:26:13 PM
permalink
admin
Posts 331
One option would be to run the
full script
and filter the data required in MS Excel. Another option would be to modify the search filter of the script. e.g.
cmd.commandtext = "<LDAP://" & searchRoot & ">;
(&(objectCategory=Group)(|(sAMAccountName=group1)(sAMAccountName=group2)(sAMAccountName=group3)));
ADsPath,primaryGroupToken;subtree"
This change to the script would be appropriate if you need to extract members from the same groups on a regular basis. If the groups are different every time then it might be better to add an inputbox to the script that takes a comma separated list of groups and then convert this into a valid filter. Let me know if this is what you require?
pages:
1
|
Home
»
Scripting
»
export AD Groups and Members in to Excel