-
I do bit shifting in PowerShell all the time. It's quite necessary when you are working with option values in Active Directory, WMI, and various Win32 interfaces. .NET tends to use enumerations, which are tad easier to deal with in PowerShell. I had...
-
I can't speak as to whether this is supported or not, but if you want DPM 2010 to be able to back up a SQL 2012 database instance, then you need to make a simple security change. Otherwise, DPM 2010 reports that "The replica is not consistent...
-
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...
-
I'm in the process of developing a large new script and to test it properly, I needed to create several thousand new users with mailboxes. While I've previously written scripts like this for Exchange 2003, I didn't have one handy for Exchange...
-
In my last blog post, Determining the Exchange Version Without Using Get-ExchangeServer ,I showed how to read the Exchange version from the registry. Shortly after posting that, the questions began to roll in about "how to make my PowerShell session...
-
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...
-
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...
-
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...
-
The System Center 2012 suite released to web (RTW'ed) today. The suite will be officially announced at the Microsoft Management Summit on April 17th. This includes Operations Manager, Configuration Manager, Service Manager, Data Protection Manager...
-
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...
-
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...
-
Exchange 2010 Service Pack 2 was released-to-web on Monday (December 5, 2011). Containing literally hundreds of code corrections since service pack 1, plus several significant new features, service pack 2 is an important new release. I will not attempt...
-
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...
-
At Exchange Connections 2011 in Las Vegas, Greg Taylor of Microsoft made a comment about some schema changes coming in Exchange 2010 Service Pack 2, that were enabling potential future feature content. This led to interest on my part to investigate those...
-
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...