{"id":29173222,"url":"https://github.com/crawfordherrington/ad-batch-user-onboarding","last_synced_at":"2025-07-09T20:03:34.286Z","repository":{"id":300486708,"uuid":"1006297214","full_name":"crawfordherrington/ad-batch-user-onboarding","owner":"crawfordherrington","description":"Automated Active Directory user onboarding using PowerShell and CSV input. Built and tested in a Windows Server virtual lab. Includes cleanup/reset script.","archived":false,"fork":false,"pushed_at":"2025-06-22T00:11:43.000Z","size":1556,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-22T01:23:44.932Z","etag":null,"topics":["active-directory","automation","csv-import","it-support","lab-environment","powershell","powershell-script","scripting","sysadmin","virtualbox","windows-server"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/crawfordherrington.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-22T00:01:07.000Z","updated_at":"2025-06-22T00:11:46.000Z","dependencies_parsed_at":"2025-06-22T01:33:51.026Z","dependency_job_id":null,"html_url":"https://github.com/crawfordherrington/ad-batch-user-onboarding","commit_stats":null,"previous_names":["crawfordherrington/ad-batch-user-onboarding"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/crawfordherrington/ad-batch-user-onboarding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crawfordherrington%2Fad-batch-user-onboarding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crawfordherrington%2Fad-batch-user-onboarding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crawfordherrington%2Fad-batch-user-onboarding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crawfordherrington%2Fad-batch-user-onboarding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crawfordherrington","download_url":"https://codeload.github.com/crawfordherrington/ad-batch-user-onboarding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crawfordherrington%2Fad-batch-user-onboarding/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262978722,"owners_count":23394016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-directory","automation","csv-import","it-support","lab-environment","powershell","powershell-script","scripting","sysadmin","virtualbox","windows-server"],"created_at":"2025-07-01T14:11:09.597Z","updated_at":"2025-07-01T14:11:10.935Z","avatar_url":"https://github.com/crawfordherrington.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Batch Active Directory User Onboarding with PowerShell\n\nThis project simulates a real-world onboarding workflow in a Windows Server environment. It uses PowerShell to batch-create Active Directory users from a CSV file and optionally remove them to reset the lab.\n\n## What It Does\n\n- Reads user data from `users.csv`\n- Auto-generates usernames (e.g., jlee, mpatel)\n- Sets department, title, and UPN\n- Adds each user to the `Employees` Organizational Unit\n- Enables accounts with a default password and login requirement\n- Skips users if they already exist\n- Includes a cleanup script to remove all test users from the OU\n\n## Files\n\n| File | Description |\n|------|-------------|\n| `users.csv` | Sample input with FirstName, LastName, Department, Title |\n| `New-ADUsersFromCSV.ps1` | Main onboarding script |\n| `Remove-ADTestUsers.ps1` | Cleanup script to delete users from `Employees` OU |\n| `/screenshots` | Add images of ADUC, user properties, and script output |\n\n## Sample Screenshots\n\n- ADUC showing created users in the Employees OU\n- User \"Properties\" window showing Title and Department\n- PowerShell output from script execution\n\n## How to Use\n\n1. Run the onboarding script in PowerShell:\n\n   ```\n   .\\New-ADUsersFromCSV.ps1\n   ```\n\n2. To remove all test users later:\n\n   ```\n   .\\Remove-ADTestUsers.ps1\n   ```\n\nThis project was completed in a VirtualBox-based Windows Server lab using AD DS and PowerShell 5.1.\n\n## Skills Demonstrated\n\n- PowerShell scripting\n- Active Directory automation\n- CSV parsing and validation\n- Error handling and logging\n- Organizational Unit management\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrawfordherrington%2Fad-batch-user-onboarding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrawfordherrington%2Fad-batch-user-onboarding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrawfordherrington%2Fad-batch-user-onboarding/lists"}