Scripting Blog [archived]

Formerly known as the "Hey, Scripting Guy!" blog

PowerTip: Use PowerShell to Edit XML File

Summary: Use Windows PowerShell to load an XML file for easy editing. (image)  Hey Scripting Guy! Is there an easy way to load and edit an XML file in Windows PowerShell? (image)  It’s so easy that you might miss it if you blink. Create an XML object. With that, you can load, save, and edit properties directly: $XMLfile=NEW-...

Set Up a Lab with Windows PowerShell and Free Microsoft Software: Part 2

Summary: Use an Unattend.xml file and edit it directly with Windows PowerShell. (image)  Hey, Scripting Guy! I saw yesterday that by using a free script called Convert-WindowsImage.ps1, I could convert Windows from a WIM file and make a bootable VHD. Is there any way to get past the initial startup screens or maybe even define the ...