Showing archive results for 2014

Feb 12, 2014
Post comments count0
Post likes count0

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

Doctor Scripto

Summary: Copy a VHD file template and inject an Unattend.xml file in preparation for attachment to a VHD file.  Hey, Scripting Guy! Yesterday you were showing us how to edit the Unattend.XML file. How can we easily inject that into a virtual machine and maybe turn that into a virtual machine?  —RD  Hello RD, Never fear. Honorar...

Windows PowerShellguest bloggerSean Kearney
Feb 11, 2014
Post comments count0
Post likes count0

PowerTip: Use PowerShell to Edit XML File

Doctor Scripto

Summary: Use Windows PowerShell to load an XML file for easy editing.  Hey Scripting Guy! Is there an easy way to load and edit an XML file in Windows PowerShell?  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-OBJECT XML $XMLfile=load...

Windows PowerShellPowerTipguest blogger
Feb 11, 2014
Post comments count0
Post likes count0

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

Doctor Scripto

Summary: Use an Unattend.xml file and edit it directly with Windows PowerShell.  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 computer name? &mdas...

Windows PowerShellguest bloggerSean Kearney
Feb 10, 2014
Post comments count0
Post likes count0

PowerTip: Identify Letter of Mounted ISO or VHD File with PowerShell

Doctor Scripto

Summary: Use Windows PowerShell to identify the letter of a mounted ISO or VHD file in Windows Server 2012 R2 or Windows 8.1.  I know I can mount ISOs and VHD files in Windows 8.1, but is there a way to programmatically know what           the drive letter is without checking the GUI and playing with Dis...

Windows PowerShellPowerTipguest blogger
Feb 10, 2014
Post comments count0
Post likes count0

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

Doctor Scripto

Summary: Use the freely available Convert-WindowsImage.ps1 to extract multiple bootable VHD files for Hyper-V Server 2012 R2.  Hey, Scripting Guy! Is there an easier way to create a VHD file that already has the operating system, rather than installing it and clicking Next…Next…Next? I’d like something that could ...

Windows PowerShellguest bloggerSean Kearney