Use PowerShell to Add Files to Offline Windows Image

Summary: Microsoft Scripting Guy, Ed Wilson, talks about using Windows PowerShell to add files to an offline Windows image.  Hey, Scripting Guy! I have a number of VHDs that I need to add files to. I know that I can use File Manager to mount the VHD and then copy the files, but I am…


Update Offline Virtual Machine with PowerShell and WSUS Offline Update: Part 2

Summary: Microsoft PowerShell MVP, Sean Kearney, talks about updating an offline virtual machine with Windows PowerShell and WSUS Offline Update. Honorary Scripting Guy, Sean Kearney, here. Yesterday, I introduced you to a tool you can use to updating offline virtual machines: Update Offline Virtual Machine with PowerShell and WSUS Offline Update: Part 1. Today, we’ll…


Update Offline Virtual Machine with PowerShell and WSUS Offline Update: Part 1

Summary: Honorary Scripting Guy, Sean Kearney introduces a cool tool for updating virtual machines.  Hey, Scripting Guy! I have some virtual machines that are normally offline. They need to be updated on a regular basis, but these machines have no access to the Windows Server Update Services (WSUS) server. Is there an easy answer to…


PowerTip: Use PowerShell to Find Network Adapters

Summary: Use Windows PowerShell to find network adapters associated with running virtual machines.  How can I use Windows PowerShell to see the network adapters that are associated with all running            virtual machines on my Windows 8.1 laptop that runs Hyper-V?  Use the Get-VM cmdlet to look for running virtual machines. Then pipe…


Updating Virtual Machines

Summary: Microsoft Scripting Guy, Ed Wilson, talks about the problem of updating virtual machines. Microsoft Scripting Guy, Ed Wilson, is here. This afternoon I am sipping a nice cup of red berry tea. I also have a bowl of grapes and a bit of brie. The berry tea, grapes, and brie are a nice combination,…


Weekend Scripter: Configure HyperV on Windows 8 Computer

Summary: Guest blogger, Greg Lindsay, tells how to configure Hyper-V on a computer running Windows 8.1 or Windows 8. Microsoft Scripting Guy, Ed Wilson, is here. Today we welcome a new guest blogger, Greg Lindsay. In Greg’s own words: I am a technical writer for Windows Server. I have written documentation for Network Access Protection (NAP), DNS,…


PowerTip: Change the Startup Action on Virtual Machine with PowerShell

Summary: Change the startup action on virtual machines by using Windows PowerShell.  How can I use Windows PowerShell to fix the startup state for a virtual machine that isn’t starting automatically?  Use the Set-VM cmdlet to easily adjust the settings. To automatically start a virtual machine every time: SET-VM –name CONTOSOVM1 –AutomaticStartAction Start To ensure that a…


Recovering Virtual Machines in Hyper-V Server 2012 R2: Part 5

Summary: Adjust virtual machine settings by using only Windows PowerShell.  Hey, Scripting Guy! I need to adjust the settings for some virtual machines on a Hyper-V box. How can I do that without using the GUI? —TM  Hello TM, Honorary Scripting Guy, Sean Kearney here—filling in for our good friend Ed. Note  This is the fifth…


PowerTip: Import a Hyper-V Virtual Machine with Only Its .xml File

Summary: Use the new Import-VM cmdlet to import a virtual machine with only its .xml file.  I copied a virtual machine to my Hyper-V Server 2012 R2 box and re-created a virtual network with the same name. How can I use Windows PowerShell to import it with without using RSAT?  Use the Import-VM cmdlet in Windows Server 2012 and Windows…