Hello! welcome to another interesting task i was working on couple of days ago. To give a bit of background of what exactly i was doing. Part of My Domain to Domain Migration (AKA ADMT Migration) project i was asked to generate a report which basically pulls all of users from the source domain andContinue reading “Password Expire Report – Powershell”
Category Archives: Active Directory
Find Disabled users in a AD group
AD Group housekeeping is great way to maintain the access and also to clean up license if you are provisioning users license via AD group, There is a quick and easy way. Below script will help you
List All the Subnets in AD Sites and Service
Listing the all the sub-nets could come very handy when it comes to firewall rules. I was recently involved in the a project that requires lots of firewall rules needs to be created for business requirement and getting the sub-nets were a challenge until i made the below script.
Moving User/s to an OU
This is quite fun, when i say fun in the system admin life 😛When ever you move someone out of an OU, there is an 90% chance that they could get different set of Group Policy as OU and Group policy are together. The script below will be help you in moving.
Export all users in AD
This could be very helpful for reports, where management loves reports 😛
Get All Users Excluding an OU
Getting all the user in AD is quite easy but excluding an OU could be bit of a challenging. The below script will be able to help you achieve you this.
Add Multiple Users to a AD Group
Adding User to a new group is annoying task when the amount of the users that need to be adding is more. Powershell comes handy for this task with the script below it should be a piece of cake. Things to note before running the script: Active Directory module needs to be import to Powershell.Continue reading “Add Multiple Users to a AD Group”
