Tag Archives: Active Directory

For a large customer I had to count the amount of users in different kind of OU’s which were member of different kind of country OU’s. This was needed because the under laying OU’s were used as some sort of Profile Groups. Different people with different roles got added to these groups and we wanted to know / count how many users would get certain (licensed) applications when we would add an application group to these Profile Groups.

Continue reading

The last script / message just before I leave on a 2 week skiing holiday! Sooo, make good use of this, because you won’t hear from me earlier than the 8th or 9th of January

About the script now. This script will create users in Active Directory based on the settings in the input file (see the Excel / CSV file below this script for an example of the input file used). These settings can, of Continue reading

During one of my projects at a customer the Active Directory setup needed to change. In this particular AD, they had defined Job Titles (Global Groups) in a Job Title OU. Specific Application Groups were members of these Job Titles to make sure that people who were in any of those Job Titles got the applications they needed to do their jobs.

Along the way it was decided that these Job Titles didn’t fit the purpose anymore Continue reading

During a project I was asked to create reports about specific Active Directory values of all the users / members in a specific (application) group. I am quite sure that this script can be written in less code (especially in Powershell), but it does the trick.

It first checks the ‘base’ of the group you are targeting and reads all the members of that group. It then recursively retrieves all the members of any sub / linked Continue reading

This is another one of those easy little scripts which can be found quite a lot around the interweb, but which is easily forgotten.

I have worked, almost only, in very large environments (10000+ users) and we almost needed to know the exact amount of user objects within Active Directory. We used this to determine the load on the servers, the amount of users logging in to certain applications, the amount of needed administrator to some data Continue reading

During one of my projects I had to auto create a large batch of users in Active Directory. We didn’t want to give them a basic password (like: P@ssw0rd) which should be changed at the start again. We decided to give them a complex password right from the start and therefore we needed a generator for those passwords.

This script also appeared to be very helpful for our own admin accounts in the several applications we made. Continue reading