Link to home
Start Free TrialLog in
Avatar of lacroix_al
lacroix_al

asked on

Export user login script to txt

Hi,
I have a need to export a list of all user login scripts.
I found this, it does exactly what I need, but I don't know how to use it.
I think it is VB but have never used VB.
Could someone explain how to use this?
https://www.experts-exchange.com/questions/21388495/Extract-to-spreadsheet-users-and-login-scripts.html?sfQueryTermInfo=1+export+list+login+script

Thank you
Al
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Can I suggest a great tool called adfind by MVP Joe Richards
http://www.joeware.net/freetools/tools/adfind/index.htm
adfind -default -f  "&(objectcategory=person)(objectclass=user)"  samaccountname scriptpath -csv > c:\userScripts.csv
That will give you a list of users and their login scripts. (csv file on your C drive)
Thanks
mike
ASKER CERTIFIED SOLUTION
Avatar of Joseph Daly
Joseph Daly
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of lacroix_al
lacroix_al

ASKER

Thank you this worked perfect
Happy new year!
Al