Browse by Tags

All Tags » Administration » PowerShell (RSS)

Finding Services Using non-System Accounts With PowerShell, v3

In 2008,I authored a PowerShell blogpost/script Finding Services Using non-System Accounts With PowerShell . It was a rewrite of an earlier VBscript blogpost/script from 2006, Finding Services Using non-System Accounts . That was a very basic rewrite...

Windows Management Framework 3.0 / PowerShell 3.0 and Exchange

In the last few days, Windows Management Framework 3.0 (WMF 3.0) has begun appearing in Microsoft Update (MU), Windows Update (WU), Windows Software Update Services (WSUS), and on Configuration Manager Software Update Points. This basically means that...

Microsoft Security Advisory 2737111 - Exchange 2007/2010/2013

Well, in case you haven’t seen it, an Exchange Security advisory was released today. “Vulnerabilities in Microsoft Exchange and FAST Search Server 2010 for SharePoint Parsing Could Allow Remote Code Execution” http://technet.microsoft.com/en-us/security...
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...

Determining the Exchange Version - without using Get-ExchangeServer

If you write lots of Exchange scripts (as I do), and have several different versions of Exchange on which you need to run those scripts (as I do); you soon see the need for being able to determine what version of Exchange a particular server is running...

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

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

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

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

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

Exchange 2010 Gotcha - #1

As I work through migrations to Exchange Server 2010 with my various clients, I'm developing a list of Exchange 2010 "gotchas". Not necessarily things that are earth-shattering, but do have the potential to be surprising to administrators...
More Posts Next page »