top of page
Technical Articles by Avijit Dutta


PowerShell script to Disable User Accounts via EMPID
Learn how to automate Active Directory account management with PowerShell by fetching users via EMPID, disabling accounts, logging results in Excel, and emailing reports.

Avijit Dutta
Aug 252 min read


⚡PowerShell Script to Fetch Employee Details from Active Directory & Email Reports 📧
Managing employee data in Active Directory (AD) can be ⏳ time-consuming when done manually. Imagine having a 📄 list of Employee IDs and needing to quickly verify their existence in your domain, fetch detailed attributes, and export them into an 📊 Excel sheet — all while automating the process of emailing 📩 the results to stakeholders.

Avijit Dutta
Aug 132 min read
bottom of page



