Browse by Tags

All Tags » PowerShell (RSS)

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...

Enumerating IP Addresses on Network Adapters using PowerShell

Regardless of whether a server is for Exchange, for SQL, or for any other use; a key component of the server's configuration is the set of IP addresses assigned to it. Many organizations apply all addresses (even server addresses) using DHCP. For...

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...

Creating Explicit Credentials in PowerShell for WMI, Exchange, Lync, Remoting, etc.

When creating PowerShell cmdlets for any Microsoft technology - WMI, Exchange, Lync, etc. - it is common to need to provide credentials that are different from the default credentials. This can be even more important when you are using PowerShell remoting...
Posted by michael | with no comments
Filed under: , ,

Generating a report on Distribution Groups and their Membership, v2

In August of 2010, I posted Generating a report on Distribution Groups and their Membership . For most people, that script worked just fine. However, it had some issues: Large groups would cause PowerShell to generate an error about concurrent pipelines...
Posted by michael | with no comments

Finding Disk Space Used By Exchange, v2

Long ago and far away (way back in 2006) I wrote an article for finding the disk space used by Exchange 2000 and Exchange 2003, Finding disk space used by Exchange . While this worked through a few Exchange 2007 betas, by Exchange 2007 RTM, the STM file...
Posted by michael | with no comments
Filed under: , ,

Counting Microsoft's Most Valuable Professionals

Each January, April, July, and October Microsofts recognizes certain individuals who - at no payment - assist in providing support to other Microsoft customers in various online forums, mailing lists, news groups, etc. Microsoft calls these people MVPs...
Posted by michael | with no comments
Filed under: , ,

Moving a Mailbox Database Path

In Exchange 2007 and Exchange 2010, added functionality in Move-Mailbox (and New-MoveRequest), along with the support of online mailbox moves have reduced the requirement of moving entire databases around very much (it's easier to just move all the...
Posted by michael | with no comments
Filed under: , ,

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

Generating a report on Distribution Groups and their Membership

A common request is to get a list of all distribution groups and the members contained in that distribution group. The question came up on a mailing list I frequent today, and my initial response was a PowerShell "one-liner" (actually five lines...
Posted by michael | with no comments

Using PowerShell to determine your elevation status (UAC)

On a mailing list recently, SBS author and PowerShell MVP Charlie Russel posted how he used PowerShell to check whether a given PowerShell session was elevated. He also used that information to change the background color of the session (elevated shells...
Posted by michael | with no comments
Filed under: ,

Exchange Email Address Template Objects in PowerShell

Exchange has a very rich set of objects which are used and created by the various Exchange cmdlets. Unfortunately, these objects (excepting those used by Exchange Web Services) are poorly documented - and the documentation which is available is often...
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...

Exchange 2010 Gotcha - #5

You may - or may not - need to register Filter Packs after you install them. As a prerequsite for installing Exchange 2010, you must install the Office 2007 Filter Packs . As noted in a recent blog post of mine, Office 2010 Filter Pack for Exchange 2007...
Posted by michael | with no comments

Simplifying Life for Exchange Authors

Another Exchange MVP, Pat Richard , posted on Facebook yesterday: It would be nice to be able to import a list of all Exchange related PowerShell cmdlets into the Word and Outlook dictionaries. Being the helpful guy that I am, I responded: You can do...
Posted by michael | 3 comment(s)
Filed under: , ,
More Posts « Previous page - Next page »