Browse by Tags

All Tags » Script » Active Directory » PowerShell (RSS)

Reporting on primary and secondary SMTP addresses on Exchange objects

Most companies have a set of primary Internet domains (Exchange accepted domains) that they use to assign to users. However, a constant is that most companies also assign a secondary email address that has a domain which is identical for all of their...
Posted by michael | with no comments

PowerShell Quick Script: Finding the Exchange Schema Version

Every major Exchange release comes with updates to the Active Directory schema. In this case, "major release" means new major version (at RTM), every service pack, and (probably) every Cumulative Update with the new servicing model introduced...
Posted by michael | with no comments

Processing Large and Embedded Groups in PowerShell

I'm working with a client that has - over an extended period of time - accumulated thousands of security groups, most of which are mail enabled for use by both Exchange and for setting rights on various objects. Becasue they use embedded groups (that...

Finding Duplicate IP Addresses and Duplicate Names in a DNS Zone

One of the traditional issues associated with cleaning up an Active Directory Directory Services (AD DS) domain in DNS is to ensure that duplicate names in DNS are removed (this is typically an issue caused by not having DNS Scavenging enabled, or by...

Enumerating networks and building routes with PowerShell

I've been working with a company that is in the process of setting up a remote datacenter for disaster recovery. They brought me in to help design their Exchange cross-site resilience, and I've been helping them with a few other things too. Primary...

Sending an email to users whose password is about to expire, a PowerShell Rewrite

In September of 2005, I wrote a blog post named " Sending an e-mail to users whose password is about to expire ". Written in VBScript, it was one of my most popular blog posts of all time. I still have clients of mine that use it and I get occaisional...

Changing Security Groups to Distribution Groups

In Exchange Server 2010, you cannot create a new Distribution Group that is not a Universal group. If your Exchange 2010 installation was upgraded from a prior release of Exchange Server, you may find Distribution Groups created in those earlier versions...
Posted by michael | with no comments

Antivirus Exclusions and Windows

In December of 2007, I made two posts: File Level Antivirus for Exchange and Information Store Antivirus for Exchange . Since that time, there is no question that with Exchange 2007 and Exchange 2010 (and the ongoing advancement of various Internet-based...

The Experts Conference - TEC'2010

For the third time, I'll be speaking at the upcoming The Experts Conference, sponsored by Quest. I'll be discussing using Exchange Web Services (EWS) from PowerShell -- and for some reason, my abstract isn't yet posted on the conference website...

Exchange Server 2010 - Administrative Access to All Mailboxes

In Exchange 2010, the storage group has disappeared. Instead, the properties of a database and of a storage group have merged - the result being referred to as a database. Effectively, a database has been promoted to be as important as a storage group...

Getting the Contents of an Active Directory Integrated DNS Zone

Microsoft has long offered (where "long" means "since Windows Server 2003") the "dnscmd.exe" program to control the actions of a DNS server. And, if you installed the adminpack (RSAT-Tools-DNS on Vista/Server 2008 and above...

Handling the userPrincipalName in PowerShell

I dealt with the importance of the userPrincipalName in one of my very early blog postings, dated May 26, 2004: The User Principal Name and You . While my company has changed, the basic information contained within that post has not changed at all. I...
Posted by michael | with no comments

userAccountControl manipulation

The userAccountControl attribute, which resides on each user and computer object in an Active Directory forest, is responsible for, well, controlling lots of things about those accounts. For example it controls whether an account is locked out, or whether...
Posted by michael | with no comments

Exchange Connections - Fall 2008

Next week, in Las Vegas, Nevada is the semiannual Connections conference. The Connections conference is a technical conference covering SQL Connections, Windows Connections, Exchange Connections, etc. There are lots of individual tracks, both for IT Pros...

Creating Many Users with PowerShell and Admod

One of the mailing lists I read and occaisionally post on is named ActiveDir. A lot of heavy-hitters in the AD world hang-out around there. I've learned quite a bit by lurking there. A recent poster had wanted to create a few thousand accounts for...