Browse by Tags

Related Posts
  • Blog Post: Tech Ed 2008 - Demo 4 - Administering Hyper-V

    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 “root\virtualization...
  • Blog Post: Searching the Active Directory with PowerShell

    Hello world It’s time for my second post and I thought I would talk about searching the active directory . I ran a PowerShell course yesterday and the delegates were itching to find out a bit more about searching an AD. So I said I would make sure I posted something on the blog. So let’s get...
  • Blog Post: Clustering Best Practices: Using PowerShell to Check Hotfix Compliance

    So Guys + Gals As well as writing PowerShell scripts and running a PowerShell course here in the UK, I spend a lot of time looking at clusters. I go to customers and run a cluster health check to make sure that their cluster adheres to best practices. Lots of what I do involves manual checking of...
  • Blog Post: Listing WMI Namespaces installed on a host

    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 obvious so I thought I’d share it with you all...
  • Blog Post: Tech Ed 2008 - Demo 1 - Administering Windows

    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 lines that I just typed straight in...
  • Blog Post: Tech Ed 2008 - Demo 3 - How do I Know Which Classes to Use

    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 documented this on my blog and it can...
  • Blog Post: Scripting Virtual Server with PowerShell - CAP-ISO.ps1

    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. Script Synopsis CAP-ISO.ps1 stands...
  • Blog Post: Scripting Virtual Server with PowerShell - Create-ChildVM.ps1

    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 machines in a test lab. I say test lab...
  • Blog Post: Scripting Virtual Server with PowerShell

    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 (I got burned for using just the new office...
  • Blog Post: Inteverview with me on Technet Edge

    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...
  • Blog Post: Scripting Hyper-V with WMI and PowerShell: Part 1 – Introduction + Querying State

    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 by System Centre Virtual Machine...
  • Blog Post: Creating an AD Shell

    Hello Again This is my third post in the Active Directory and PowerShell series. In this post I want to talk about how to create your own pseudo-cmdlets to manage the AD. I`m going to talk about how to present scripts to PowerShell that behave in a similar way to Cmdlets, that then allow easy administration...
  • Blog Post: Tech Ed 2008 - Demo 2 - Administering Servers in Bulk

    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 the server names back to the console...
  • Blog Post: Searching WMI

    Ladies and Gents A lot people have been asking me: “How do I know if there is a WMI provider for xxxx?”. Quite often a quick search in live.com will get you the results, but there is a way of searching WMI from within PowerShell. I have created a really simple script that allows me to search the CIMV2...
  • Blog Post: Vista Event Logs and PowerShell

    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 ask. Well, there are loads of...
  • Blog Post: Benp’s Basic Guide to Managing Active Directory Objects with PowerShell

    Guys + Gals So here is my first post! How exciting! The last few weeks I have been writing a private 1 day workshop entitled “Introduction to PowerShell”. This is a classroom based workshop run in the UK. As part of the workshop I decided to put in a section on how to interact with the Active...
  • Blog Post: Tech-Ed 2007 - Top 5 PowerShell Questions

    Ladies + Gents This week I have had the privilege of working at TechEd 2007. I’ve been on the PowerShell demo stand in the Technical Learning Centre and talking to what feels like most of the 12000 attendees about how cool PowerShell is. It probably doesn’t surprise you to hear there were some really...