The Life of Brian

Active Directory, Group Policies, Server Core and the Life of Brian

Email Notifications

Blog Search Form

Go

Recent Posts

Tags

Disclaimer

  • This blog is provided "AS IS" with no warranties, and confers no rights. This blog contains my own views and does not necessarily reflect the view of my employer.
    Locations of visitors to this page
    Add to Technorati Favorites

Sites I Visit

Archives

Browse by Tags

All Tags » Scripting (RSS)
Recycling Active Directory Trash with the AD Recycle Bin
Hopefully some of you have been playing with Server 2008 R2 while it has been in Beta . One of the features I’m looking forward to most is the AD Recycle Bin. Yes you heard me correct. We now have an easy method for restoring accidently deleted...
Active Directory Recycle Bin PowerShell Scripts
I just found out that there is an Active Directory PowerShell Blog run by Microsoft’s AD PowerShell team.  I gathered that info from reading up on Jason’s post .  Its amazing how much info you can get from reading other people’s blogs…now on...
New PowerShell Blog
Just saw that a good friend and former co-worker FINALLY has a blog up.  Jason’s blog is geared toward PowerShell and it already has some nice posts as well as some videos on PowerShell.  I’m so far behind on the PowerShell curve but i’m sure...
How to Remove a Failed or Offline DC
I’ve seen this issue come up time and time again.  Some administrator decided to remove an old DC from the network but forgot to remove it from Active Directory or the DC has entered a failed state and cannot be recovered from.  In a perfect...
Script That Displays Group Membership and Active Directory Location
The following code can be run to display the group membership of an Active Directory group and also let you know each member’s LDAP Distinguished Name. The output will name the text file the group name and will include all the members and their...
How to Search for an Email Address in Active Directory
From time to time I’ve had to figure out which user account has a specific email address.  Actually its more like finding who has the “reallycoolemailaccount@company.com ” so another “more senior” person can get it.  Well if you work in a smaller...
Admin's Guide to Server Core Commands
Repost from AdminPrep.com…I will be moving several of the articles over to this blog. Before all this starts, credit must go where credit is due. I did not come up with all of the info within this article. A lot of people have felt my pain and...
Export Email Addresses from a Distribution Group
One thing that really bugs me is there is no easy way to grab some email addresses from a distribution group.  Usually I end up expanded the group to list all the users and then I have to go to the Outlook properties of each user to view the email...
Posted: Tue, Aug 26 2008 8:11 by BrianM | with 1 comment(s)
Filed under:
Administrator's Guide to Server Core Commands
Server Core has been a popular topic for me over the last year as it is something completly different from what i'm used to working on. I love the GUI but I know there are times when I have to do things via the command line. Well if you are going...
Active Directory Health Checks for Domain Controllers
I've just written a small article on the common steps that I perform when doing health checks on domain controllers. AdminPrep is not up right now so I'll post the health check stuff here. I would love for you to come back here and let me know...
DNSCMD Reference
Fellow Directory Services MVP Mark Minasi has a great table that shows a ton DNS commands using dnscmd. For those of you getting ready to use Server Core here is yet another list of commands that will come in handy. All I can say is WOW!!! Function DNSCMD...
Windows Server 2008 Sysprep.xml help
My friend Norm asked if I could post this sample Sysprep.xml file as he couldn't find anything online yet to really help him with Server 2008 and Sysprep. If you have any questions or feedback just leave it in the comments and I'll be sure to...
Script to Determine Members of a Group
Back in February I needed a script to display the groups a user belonged too. Today I was asked about the opposite. I needed to find a way to list the members of a group. Thankfully I blogged about the first issue in February because that led me to the...
How to Display the Groups a User is a Member of
I've been trying to work more and more with scripts and today I'm sharing a simple but useful one. How to display the groups a user account is a member of. To display a user's groups via the command prompt you need to use the dsget command with the -memberof...
Viewing Hidden Mailboxes from ADUC
It has been almost a year since I’ve worked with Exchange…and the old adage is if you don’t use it, you lose it. My first experience with that was when I lost all my UNIX knowledge after years of not using it. Looks to me as if Exchange...
Stoping and Disabling Services
Another day another task… Today I needed to stop and disable the Print Spooler and Telephony services on about 40 servers. Sure if I got paid by the hour I could just log on to each individual server and do it manually but I don’t get paid...