Accidental PowerShell 3 Get-Help discovery

Get-Help has always been my favorite cmdlet. Anytime I am stuck, I was able to find lot more information about any given cmdlet when I need. Until today, my favorite feature was Get-Help’s –online parameter. For the cmdlet that have specified online uri of help topic, get-help cmdlet –online takes you straight to cmdlet help…

0

Exchange Management Shell Error 500 - Internal Server Error

I have come across this issue enough times that even if it is documented on TechNet it deserves mention here. When you launch Exchange Management Shell or try to connect to an Exchange 2010 Server remotely using PowerShell, you get error “500 – Internal Server Error. There is a problem with the resource you are…

0

RBAC and Principle of Least Privilege

Exchange 2010 introduced RBAC as a mechanism to manage access to administrative tasks at granular level which was not possible in previous versions of Exchange. While you may know how to use RBAC to create custom roles that maps to job functions in your environment, one particular feature tends to get easily overlooked, mostly because…

0

Script to configure static ports on Exchange Server 2010

There is nothing new about this. If you have been reading about Exchange Server 2010 or have it deployed with hardware load balancer, chances are, you have read how to configure static ports on Exchange Server 2010 on TechNet Social wiki for Exchange 2010. Chances are that you have also used my script (referenced in…

4

PowerShell script to edit remote registry

Did you ever wanted to modify your registry or add a key/value pair to registry? Wished there was a script to help you do that? Even better, wished it can run remotely without PowerShell WinRM listener configured on target server? I had custom script that would modify certain registry entry but it was inflexible and…

2

Mythbusters–Exchange Server 2010 and PowerShell Remoting

A misconception that WinRM listener needs to be configured in order to be able to connect to Exchange Server 2010 had popped up a couple times in my conversations recently so I decided to clear the confusion. Guest blogging for my friends at IT Pro Africa, I have written the details on the blog post…

3

Microsoft Exchange 2010 PowerShell Cookbook Review

Disclaimer: I am not paid to write about this book and the review written here is my own view. I was recently contacted by Packt Publishing about their recently published book “Microsoft Exchange 2010 PowerShell Cookbook”. I have voluntarily reviewed books in the past (i.e. Windows Server 2003 Security: A Technical Reference by Roberta Bragg)…

0

Script to report bad Apples!

You may have seen Microsoft Support article “Current issues with Microsoft Exchange ActiveSync and Third Party Devices”. It documents multitude of problems with third party devices using ActiveSync. the list includes everyone’s favorite fruit devices that starts with an “i”. Shouldn’t be a surprise right? So I was asked recently to help with a script…

0

Script to disable IPv6 Components

While most documentation you may come across states to not disable IPv6 components on Windows 7 or Windows 2008 servers, you may have instances where disabling IPv6 components may become necessary. If you have to disable IPv6 components, the procedure is pretty straight forward and is documented in KB929852. I happened to be working with…

3

Why does catch not catch?

I ran into an interesting discussion with my customer today.  He was writing a code block that looked like the following: Try { Get-MailboxServer Bogus } Catch { “Mailbox server doesn’t exist” } Looking at the code, it’s very simple. Run a command in try block and if error is generated, report on it using…

0