Tag Archives: active directory

Powershell Help Desk tasks

This script will help automating some help desk tasks. For example in my current environment we put user’s name in the “Description” field. When user calls in helpdesk for a support, we need to connect to their machine. In a … Continue reading

Posted in Powershell | Tagged , , | Leave a comment

Adfind query

Command below allows you to pull all users and their last authentication and put them into CSV file: AdFind>adfind -b ou=Users,dc=domain7543,dc=local -f “objectcategory=user” cn displayName LastLogonTimeStamp -tdcs -csv > out2.csv

Posted in Random stuff | Tagged , | Leave a comment