See all products »
Curah! curation service
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Server and Tools Blogs
TechNet Flash Newsletter
Cloud and Datacenter
Windows Server 2012 R2
System Center 2012 R2
Microsoft SQL Server 2012 SP1
Windows 8.1 Enterprise
See all trials »
Microsoft Download Center
TechNet Evaluation Center
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
MCSA: Windows 8
Windows Server Certification (MCSE)
Private Cloud Certification (MCSE)
SQL Server Certification (MCSE)
Second shot for certification
Born To Learn blog
Find technical communities in your area
For small and midsize businesses
For IT professionals
For technical support
For home users
Microsoft Premier Online
Microsoft Fix It Center
Security Bulletins & Advisories
International support solutions
Log a support ticket
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
James O'Neill's blog
Windows Platform, Virtualization and PowerShell with a little Photography for good measure.
Azure / Cloud Services
Bing / Google
High Performance Computing
Linux / Open Source
Music and Media
Real Time Collaboration
Security and Malware
Windows 2003 Server
Windows Server 2008
Windows Server 2008-R2
Working at Microsoft
Browse by Tags
James O'Neill's blog
Hyper-v and Snapshots (Part 1)
We often talk about "rolling back" to a snapshot, but here, some of the snapshots we can apply aren't simply forward or backward, hence Hyper-V talks about applying snapshots. It also talks about Deleting snapshots which causes some confusion. Deleting a snapshot means foregoing the ability...
2 May 2008
A Nice little Milestone for my PowerShell Hyper-V management library
As is the way for these things I never wrote in a diary "Started work on a PowerShell management library Windows 2008 Hyper-V " I know that I first showed it during April's road show and so it must have begun in March. In June I opened up a site on Codeplex for it and the first version...
28 Aug 2008
Net maps - PowerShell and Excel
Over the weekend I picked up a link from Jeffrey , which took me to this post by Doug . My post from Friday had already got me thinking about visualization stuff and so I went off on the link that Doug provided. A nice little snippet of PowerShell which piqued my interest and a link to another post of...
8 Sep 2008
A little more on PowerShell
I've been showing PowerShell on the roadshow, and Steve warning me about it becoming the "Look-how-clever-I-am-with-PowerShell show". Actually, I quite like the idea of a "Look-how-clever-PowerShell-makes-you show". Working on some of bits and pieces of PowerShell for managing hyper...
2 May 2008
Hyper-V PowerShell library - now on Codeplex
I've decided to go ahead and post the PowerShell library I have been working on to Codeplex . I wanted to explain various bits of it here before pulling it all together, but that is taking more time than I wanted. I've provided early copies to a few people - John Kelbley used them to good effect...
18 Jun 2008
How to: have nicer Active Directory management from PowerShell – without upgrading AD
One of the first books I read on PowerShell had a comment about using AD from the PowerShell V1 which amounted to “It’s too hard, don’t bother use VB Script instead”. I’d taken against the book in question (no names no pack drill) – in fact it reminded me of something Dorothy Parker is supposed...
25 Jun 2009
How to get user input more nicely in PowerShell
Long, long ago when I was using my first Microsoft product, I knew one way to get input from the user. The product was Commodore BASIC (in those days we wrote it in uppercase and knew it stood for Beginners All-purpose Symbol Instructional Code). and the method was INPUT. This was back in early 1979...
24 Jun 2009
I mentioned that one of the negatives of my trip to Barcelona was not getting to sessions and the positives were all around the people I met. I was minding my own business in the speaker room when Eileen got into a Powershell conversation with a man in a most distinctive tie. She had a suggestion for...
21 Nov 2006
Why Visual studio helps PowerShell
The next proper PowerShell piece I write should be on using it to get at EXIF Data in images. I want to share a couple of things I've learnt along the way. The fGoirst is around finding libraries. If you find anything that is written for Visual Studio to work with EXIF fields, it use the system.drawing...
11 Jul 2007
PowerShell and the smarter command line.
I mentioned I was doing some PowerShell work to manage configuration on the R2 versions of Windows Server 2008 Core and Hyper-V server (which now support PowerShell), and somebody in Redmond asked me if I knew there were tools out there to do this job. … I was thinking about how we find stuff,...
26 Jan 2009
An interesting journey with PowerShell, GPS data and SVG. (Part 2)
This is, I'm afraid, another of those "Wow! what can you do with a couple of long lines of PowerShell" posts. I wanted to create a Scalable Vector Graphics (SVG) file for PowerGadgets' OUT-MAP cmdlet to do UK county maps. PowerGadgets, as I discovered is fussy about the SVG data it is passed, and...
28 Feb 2008
An interesting journey with PowerShell GPS data and SVG. (Part 1)
Eileen phoned me from a traffic jam yesterday. "I've got a demon in the car" she said. A little late for a technical person Eileen has joined the world of Sat Nav owners and her characterization of hers put me in mind of the personal Dis-organizer device which shows up in some of the Terry Pratchett...
27 Feb 2008
Moving from VB to PowerShell
I'm continuing to fiddle with PowerShell . I have 28 years of BASIC under my belt Starting with a DEC PDP 8/f moving onto Microsoft Basic with the Commodore PET (hands up who remembers Poke 59468,14 and ,12 ?) , through the AppleSoft version of it, and Sinclair Spectrum (with it's one touch expansion...
10 Jul 2007
Doubts and Powershell, Hyper-V KeyValue pairs and Hash tables.
I've said a number of times that I think technical people are rarely secure in their own abilities; that they have a demon on their shoulder who whispers "You're not really, that good" ... "They'll find you out one day". I was talking to a colleague this week who seems to be racked...
14 Jun 2008
Powershell to add social bookmarking tags
I blogged before about Lee Holmes' code to fetch and modify blog posts from PowerShell I was talking to Eileen about her experience adding social book marking tags one of the drawbacks was that she has to Post date the blog entry, and publish it Go to the blog site and get the URL Go back...
10 Jan 2008
PowerShell to Fix Phone number formats part II
I said when I posted about fixing the phone numbers in your Outlook Contacts that I'd come back and do the same thing for Active Directory. Richard told people to look out for that, so no pressure to get it done then... Using the Active Directory Services interface (ADSI) from Powershell seems to...
20 Aug 2007
My first steps with PowerShell
I've been taking my first stumbling steps in PowerShell . I'm the contact here for the PowerShell user group and have been along to a couple of their meetings, and their enthusiasm is pretty infectious. PowerShell's really got some momentum behind it - having had a million downloads and a dozen or so...
6 Jun 2007
NSLookup, WMI and Ping - three random things from the "I didn't know that column"
If you're a regular reader you may know that I've been doing quite a lot of stuff with powershell of late, and Ive mentioned that I'm helping with some of the utilities for the the OCS resource Kit. One of the questions I got asked was "Can we have a script to look up an SRV record", I thought this was...
22 Aug 2007
PowerShell and Telnet.
I've got a backlog of posts at the moment. Steve and I have been getting ready for the Road-show, and Windows deployment services, System Center Virtual Machine Manager, Virtual Server Clustering, iScsi, dual booting Windows Server 2003 & 2008, and Windows Server Virtualization mean I could be hunch...
18 Sep 2007
Exploring Photographic EXIF data (using PowerShell, of course)
My PowerShell project for the last few days has been to get into the EXIF data which is embedded in Pictures. It turns out to be a bit easier than I imagined. The first thing I found is that the . NET framework has a "BITMAP" object-class which gives access to these properties. Just get a new instance...
13 Jul 2007
Slides and scripts from Open XML / PowerShell reporting Session in Barcelona
I'm going to spend the next two or three Posts explaining what I did in this session for those who weren't there but, for those who were I promised the slides and scripts would be downloadable You can get the zip from my skydrive
5 Nov 2008
How to drive Twitter (or other web tools) with PowerShell
First of all since I’ve mentioned twitter a few times recently I should say I have this cartoon of Hugh’s in my head as a warning . After a 10 days on Twitter I’m qualified to talk about it like an expert … There are some obvious points of interest. (1) Twitter Provides a web interface, it’s not...
16 Feb 2009
The “Joy” of Reg-ex part 3: Select-String
One of the PowerShell tools I’ve been using a lot recently is Select-String : Going through lots of files trying to find a mistake I know is in several of them – can just bang in select-string -SimpleMatch "Split-path" -Path *.ps1 –list | edit Finding text in files is not exactly radical...
16 Jan 2010
Book Review: Windows Powershell 2.0 Best Practices, Ed Wilson
Last week I watched a TV program called Michelin Stars, The Madness of Perfection it talked about the pressure Chefs put themselves under - sometimes tragically so . The presenter was a restaurant critic and in talking to one of his fellow critics they talked about a problem – not exclusively a Michelin...
16 Mar 2010
The Hyper-V API - Disks
In an earlier post in this series (several posts ago now) I showed how the Msvm_virtualSystemManagementService WMI object can be used to configure resources in Hyper-V, and I started with the easy step of setting memory and CPUs which exist on a freshly created virtual machine. What about Network Cards...
27 May 2008
© 2014 Microsoft Corporation.
Privacy & Cookies