Showing archive results for February 2014

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
Feb 9, 2014
Post comments count0
Post likes count0

PowerTip: Show Desired State Configuration Cmdlets

Doctor Scripto

Summary: Get a list of the new Windows PowerShell cmdlets for Desired State Configuration with one line.  How do I see the cmdlets that are available for the new feature in Windows PowerShell 4.0 called           Desired State Configuration?  Target the PSDesiredStateConfiguration module with the Get-Com...

Windows PowerShellPowerTipguest blogger