Browse by Tags
Scripting Hyper-V with WMI and PowerShell Part 1 – Introduction + Querying State Introduction When it comes to scripting Hyper-V there are really 2 methods: 1. Using the virtualization WMI provider that ships with Hyper-V. 2. Using the cmdlets provided
Read More...
Hi All I got kidnapped by the Tech Net Edge guys whilst I was at Tech Ed the other week, and intereviewed about the PowerShell and WMI session that I was presenting there. If you'd like to see the interview in full it's here: http://edge.technet.com/Media/Powershell-tips-and-tricks-from-the-field-with-Ben-Pearce/
Read More...
Hi All Sometimes you just want a new Domain created quickly for a bit of testing. Given that Windows 2008 ships with server core, a light footprint version of the OS, it’s ideal for being the domain controller. As I am fairly inexperienced with Server
Read More...
Finally, here is the last demo. Demo 5 – Administering Failover Clustering I have already written a detailed post, and a similar script on this subject, here . However, I promised all the demos would be on my blog, so attached is the exact script I used
Read More...
So here is Demo 4 – Administering Hyper-V I am planning to put more posts on my blog, looking at this subject in more depth, so stay tuned for more in depth demos. This was is what I demo’d at Tech Ed 2008. Notice the namespace that is used: Gwmi –namespace
Read More...
Ola Demo 3 – How Do I Know Which Classes to Use In this demo I firstly used WMI Browser, which provides a GUI that can be used to visually display WMI information. That can be downloaded from here: I then browsed for classes in PowerShell. I have already
Read More...
Bonjour Bonjour It’s time for Demo 2 – Administering Servers in Bulk. I’ve attached the 4 scripts that I used. Demo 2 – Administering Servers in Bulk BulkServers1.ps1 – This script reads in a text file, containing 1 server per line. It simply then writes
Read More...
Hello Again Well I’ve delivered my session “Windows, PowerShell and WMI: Unveiling Microsoft’s Best Kept Secret”, and as promised here are the scripts for the Demo’s I used during my session: Demo 1 – Administering Windows All these demos are simple command
Read More...
Ladies and Gents Many months ago I posted a script on how to search a namespace for different classes. The post is here A common question I then get asked is “How do I know what WMI namespaces are installed on a system?” The answer is not immediately
Read More...
Hi All Some of you may of heard about this already, but it's recently been announced that PowerShell will be in the Microsoft Common Engineering Criteria for 2009. What is the Common Engineering Criteria? The Common Engineering Criteria is a set of criteria
Read More...
Hi All I had the pleasure of presenting a joint session at the PowerShell UK User Group this week. I presented a joint session with Jeremy Peck from HP on an Introduction to SCVMM and scripting it with PowerShell. I have attached my slide deck from the
Read More...
Hello Everybody Sorry for the huge delay in posting anything, I promise I will never leave it so long again. I got asked a question the other day. Can I use Get-EventLog to access all the new logs that are in Vista? Which logs am I referring to you may
Read More...
Hello I hate writing up scripts. Writing the scripts themselves is great, it’s just explaining them after which is really boring J Here is the second demo script I used last week, Create-ChildVM.ps1. This script is invaluable if you need to quickly deploy
Read More...
Hello Everyone As promised, attached is the first fo the demo scripts that I used at the “Scripting Virtual Server with PowerShell” session I ran. I`m not going to go through the whole script but here is an over view and bit more detail on a few key sections.
Read More...
Bonjour Bonjour Last night I was kindly invited to speak at the PowerShell UK User Group meeting. The subject I delivered was "Scripting Virtual Server with PowerShell". I was asked if I could post my slide deck, so here it is in both pptx and ppt format
Read More...