formats

Simplifying the “Create new VM” PowerShell scripts

If you’re at all interested in automating the tasks you perform in the VMM 2012 SP1 GUI, you probably appreciate the “View Script” button as much as I do. However, even if you have your VM Templates all setup and ready to go, and basically just “Next” through the “New VM” wizard, the generated script

(More)…

formats

Fumbling through Windows Server 2012 Virtual Desktop Infrastructure (VDI)

Published on 23/04/2013, by in Scripting, Windows.

I’m deploying a small VDI infrastructure for my employer. Being used to Citrix XenDesktop, the Windows 2012 implementation is, how to put it, “lightweight”. The team has done a tremendous job of exposing the various config tasks in Server Manager. Tasks such as changing SSL certs across multiple hosts or deploying new VDI collections use

(More)…

formats

Bits and bobs from my PowerShell profile #1: Get-specialfolder

Published on 14/04/2013, by in Scripting.

I thought I’d share a few bits and pieces from my PowerShell profile that I’ve gathered over the years. Most of it is not fancy at all, but might be useful to you still. The PowerShell profile is a script file that gets executed everytime you start the PowerShell shell. It’s where you put your

(More)…

formats

SQL Reporting Services (SSRS) PowerShell Module

Published on 06/04/2013, by in Scripting.

I’ve been working with SSRS lately to try and help our reporting dev come up with a automated deployment solution. Microsoft’s implementation of a scripting solution (rsscripter) is pretty much a joke. I have no intention of re-living those dark years of vbscript just to publish a report to a reporting services instance. So, we

(More)…

formats

Creating Azure VM into an affinity Group using PowerShell

Published on 05/04/2013, by in Scripting.

There’s a lot of examples on Azure VM Creation using PowerShell out there, but I couldn’t find one for deploying a vm from the “Image Gallery” into an Affinity Group. For example, if you’ve set up a VM Network and want to place the VM inside that network, you need to use Affinity Groups. Here’s

(More)…

formats

The big Exchange Mailbox move

Published on 09/12/2012, by in Everyday, Scripting, Windows.

One of the first things I did when starting at my current employer this summer was to take a look at their hosted Exchange. I wasn’t impressed. There are too many reasons to mention here that things were as they were at that time, but that isn’t the point in this context. The point is

(More)…

formats

Measuring Exchange 2010 Mailbox growth using PowerShell

Published on 28/11/2012, by in Everyday, Scripting.

During a recent mailstorm we needed to quickly get an idea of users with abnormal mailbox growth. The script below lets you list all users in a database, wait for a few minutes before listing them again, and then list them out based on the delta in the first and second measurement. It’s not advanced

(More)…

formats

Lightswitch, PowerShell and WCF Services

Published on 03/11/2012, by in Scripting.

Im really intriguied by Visual Studio Lightswitch – its a framework for designing data-driven applications. It is really cool stuff, the generated UIs are nice-looking and it (according to the devs) gives a lot of flexibility in terms of coding the logic behind the flashy exterior. A lightswitch app can hook on to various services

(More)…

formats

Getting SCOM ready for the big screen

Published on 02/10/2012, by in Scripting, System Center.

When I worked as a consultant, the number one request from customers running System Center Operations Manager was “We need to get SCOM alerts on our wall screens”. It is easier said than done. I used to reply this to my customers: “SCOM isn’t a wall-type product. SCOM is a system that looks for every mistake

(More)…

formats

Good read on Priveliged Group security

Published on 20/07/2012, by in Windows.

Some very good reading on AD priveliged group and accoutn security http://blogs.technet.com/b/askpfeplat/archive/2012/07/16/too-many-admins-in-your-domain-expose-the-problem-s-and-find-a-solution-don-t-forget-powershell.aspx http://blogs.technet.com/b/lrobins/archive/2011/06/23/quot-admin-free-quot-active-directory-and-windows-part-1-understanding-privileged-groups-in-ad.aspx http://blogs.technet.com/b/lrobins/archive/2011/06/23/quot-admin-free-quot-active-directory-part-2-protected-accounts-and-groups-in-active-directory.aspx

Home Posts tagged "Powershell"