Blogging, really?
I’ve come close to starting this blog a few times but I’ve never been interested enough. Most of the time I’m tempted to blog when I figure out something cool in PowerShell, workaround something stupid...
View ArticleCompare-Object workaround
One thing that’s frequently frustrated me about PowerShell is that using the Compare-Object cmdlet doesn’t always yield useful results. For instance, consider the following command: Compare-Object...
View ArticleWhere is that file, really?
If you use Microsoft DFS, determining “real” location of a file can be tricky… at least in a quick and script-y way. You can always right-click, choose properties and click on the DFS tab if you’ve got...
View ArticleWhen you absolutely, positively got to kill [almost] every [VM] in the...
We’ve had two instances that required us to shutdown our ESX infrastructure recently. The first was a data center move and the second was SAN maintenance. I wrote the following scripts to shutdown all...
View ArticleImport-PSSession and temp files
One of the reasons I use a custom PowerShell profile is to make things available no matter how or where I’ve launched PowerShell. For instance, I like to use the ISE and I work on Exchange. Instead of...
View ArticleAnother Exchange custom remote issue
So, I just discovered another issue with my method of invoking a simple remote session to Exchange 2010. The return types in many cases are deserialized so the following happens: PS> (get-mailbox...
View ArticleCustomizing the Windows 8 login screen
The default background color for “other users” logging into Windows 8 domain joined computers is an ugly purple by default. If you have a policy to not remember the last logged in user, it means that...
View ArticleAdvanced Storage VMotions via PowerShell
When you want to migrate a virtual machine in the vCenter Client, the wizard gives you the option to click the Advanced button and then select the destinations for the configuration file and each hard...
View Article