We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Powershell / Quest commandLets to get a list of all users logon scripts from Active Directory profile tab and export to .CSV File

Medium Priority
2,207 Views
Last Modified: 2012-08-14
Powershell / Quest commandLets to eport a list of all users logon scripts from Active Directory profile tab and export to .CSV File
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2013

Commented:
Take a look at this question I helped with, that didn't include powershell (I used adfind) but the second question does

https://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_25011712.html

https://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/2003_Server/Q_26211232.html

Thanks

Mike
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:

$dc = 'domain controller.your domain.net:389'
$Ou = "ou=location,DC=your domain,DC=net"
Get-QADUser -IncludedProperties scriptPath -SizeLimit 0 -dc $dc -searchroot $ou| select name,scriptPath | export-csv c:\temp\logonscript1.csv

Author

Commented:
Thanks for you help.

Mkline71 - how can you tell addfind to run on a paricular OU?
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.