One of my fellow SBS MVP buddies Kevin Weilbacher mentioned this recently, that he found a free PowerShell eBook. I believe it’s based on PowerShell 1.0, but the same concepts and commands should be fine in later versions of PowerShell as well. You can download your copy here … [Read more...]
How to create an anonymous relay on Exchange 2010 or SBS 2011 Standard
I’ve had to do this a few times now for applications that require anonymous relay in order to send email. Whenever I do this I limit the scope of the anonymous relay to the application server in question. Below I’ve given the PowerShell commands that can be used on SBS 2011 Standard or Exchange 2010 to correctly create an anonymous relay for any traffic coming from … [Read more...]
PowerShell galore… when will it stop?
PowerShell is certainly one of the next big things that Microsoft are putting out there. We’ve been told that things like the Exchange System Manager are built AFTER the PowerShell commands are written. Indeed using Exchange 2010 as an example, there are some things that have no GUI equivalent and you are forced to run PowerShell instead. The noise around … [Read more...]
PowerShell Tip #3 – Filtering Output
When you issue PowerShell commands you can get quite a bit of information back from it. Last weeks tip showed how to format the output and to do a very basic filter to show specific columns only. Today we’ll be a little more specific. Lets say that I wanted to list all the processes on a computer where the Process Name begins with svc* – this is how I would … [Read more...]
PowerShell– Hyper-V Scripting
Whilst digging for PowerShell scripts for Hyper-V, I found this very cool resource on the Microsoft TechNet Wiki site so I thought I would share it here. The Wiki has a load of scripts that will do basic things as well as more complex items such as compacting VHDs. Basically I’m looking to put a few scripts together to enable me to quickly create entire VMs for testing … [Read more...]