RSS All Posts

RSS PowerShell Posts

Tags

2142 Active Directory Administrativia Announcements Battlefield Blogging Cricket Deployment Deployment4 Get-PSUGUK Group Policy HowTo Linux MDT MDT 2010 Microsoft Deployment Toolkit MSDN Music Permissions Personal PowerGui Power Lines PowerShell PowerShell Groups PowerShell Support PowerShell Tools PowerShell V2 Presentations PSUGAU Quick Tips Scripting SDDL Security Tech Talk Ubuntu User Groups Virtualisation VMware Infrastructure Client WAIK Weekly Poll Windows 7 Windows Automation Installation Kit Windows Server 2003 Windows Server 2008 XML

Archives

Meta

Listing your XML product keys from MSDN – Part 2

Thursday, October 11th, 2007

In the last post we we’re playing around with how to extract a Product Key from an MSDN exported XML document. We’ll take this a step further today and see if we turn it into something a little more useful.
Building on the previous script, we want to list the products that match our search criteria [...]

Listing your XML product keys from MSDN

Tuesday, October 9th, 2007

I’m lucky enough to have an MSDN subscription at work. If you’re familiar with this service, you will know that when you request a Product Key, there is an option to download it in XML format.

One of my favourite things with PowerShell, is how it handles XML.

$msdn = Get-Content MSDN-Sample-ProdKeys.xml
$msdn.Your_Product_Keys.Product_Key.Count
 
$product = read-host "what product are [...]

PowerShell and XML

Thursday, March 1st, 2007

By far, for me, the most useful feature I’ve found in PowerShell is how easy it is to manipulate XML documents. I’ve written VBScripts in the past that extracted data from XML, performed a task, and then updated the XML document when it was done.
Now, personally I found this quite a tricky task. Let [...]