Listing your XML product keys from MSDN – Part 2
Thursday, October 11th, 2007In 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, 2007I’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 [...]