Tags » Active Directory

Search Active Directory description for a phrase with PowerShell

get-aduser -ldapfilter ‘(searching for something*)’ |more

Add local windows Administrators group to SQL Logins

Adding Windows groups (local or domain) based security is best practice as it can help you in a situation where you loose credentials potentially.

You want to add Local Windows Administrators group to have SA or any other permissions in SQL.  80 more words

Tsql

How many users are in my AD group?

Nice simple three liner here. I often want to check how many users are in a particular group, and find it a bit annoying that ADUC doesn’t show this in the Group Properties. 58 more words

Append Description to a list of users

Today I needed to append, not overwrite, the description variable for a list of users. To do this, I created a simple .txt file containing the usernames I wanted to change. 48 more words

Stale Forest / External Trust

Recently I had to remove an External Trust between two domains and replace it with a Forest Trust. Simple work for an Active Directory consultant, you might think, but as with most consultancy work, it’s the simple stuff that catches you out! 166 more words

Server Manager loading on each logon and you waiting. Life could be better

Keep the long story short waiting for Server manager to load on a server you have just logged on to do a quick thing is not the best past time is it? 122 more words

Windows

Sync New Active Directory with Existing Office 365 Tenant

These are some high level projects tasks I put together based on an existing Office 365 tenant who is creating a “greenfield” (new) on premise Active Directory forest/domain for the purpose of being able to manage Office 365 users through the utilization of Active Directory synchronization. 403 more words

Office 365