-
Summary : Use Windows PowerShell to add a new hard disk drive to a virtual machine on Hyper-V. How can I to add another hard drive to my virtual machine? Use the Add-VMHardDiskDrive cmdlet with the following command: STOP-VM -vmname "My Virtual Machine"...
-
Summary : Microsoft Windows PowerShell MVP and honorary Scripting Guy, Sean Kearney, begins a three-part series about creating new virtual machines. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you...
-
Summary : Use Windows PowerShell to create a new virtual hard disk to use with Hyper-V. How can I create a new virtual hard disk in Hyper-V? Use the New-VHD cmdlet. This will create a 60 GB dynamic disk VHDX file under C:\VHD\ called Mydrive.vhdx: NEW...
-
Summary : Microsoft PowerShell MVP, Sean Kearney, talks about using Windows PowerShell to build and restore snapshots in Hyper-V. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most...
-
Summary : Use Windows PowerShell to rename a virtual machine on Hyper-V. How can I easily rename a virtual machine running on Hyper-V? Use the Rename-VM cmdlet: RENAME-VM -Name "My Old VM Name" -newname "Cool New VM Name" Read More...
-
Summary : Microsoft PowerShell MVP, Sean Kearney, concludes his series about creating a home drive with Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent...
-
Summary : Use Windows PowerShell to add processors to a virtual machine running on Hyper-V. How can I easily add processors to my virtual machine? Use the Set-VMProcessor cmdlet: SET-VMProcessor -VMname "My Virtual Machine" -count 2 This enables...
-
Summary : Create a home drive with Microsoft MVP and honorary Scripting Guy, Sean Kearney. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that the most frequent guest blogger is Sean Kearney...
-
Summary : Use Windows PowerShell to add a network adapter to a virtual machine. How do I add a network adapter to my virtual machine on Hyper-V? Use the ADD-VMNetworkAdapter cmdlet: ADD-VMNetworkAdapter -vmname "My Virtual Machine" -switchname...
-
Summary : Microsoft PowerShell MVP and Honorary Scripting Guy, Sean Kearney, begins a discussion about home drives and Windows PowerShell. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know that...
-
Summary : Use Windows PowerShell to check the boot order on a virtual machine. How do I check the boot order on a virtual machine running on Hyper-V? Use the Get-VMBios cmdlet and check the StartupOrder property. Get-VMBios -vmname "Virtual Machine...
-
Summary : Microsoft Windows PowerShell MVP and Honorary Scripting Guy, Sean Kearney, talks about generating passwords with Windows PowerShell in Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy...
-
Summary : Use Windows PowerShell to list all switches on a Hyper-V server. How do I get a list of all switches on my Hyper-V box? Use the Get-VMSwitch cmdlet, which will list all Hyper-V network names on a host (including their switch type, whether they...
-
Summary : Microsoft PowerShell MVP, Sean Kearney, talks about importing multiple virtual machines with Windows PowerShell in Windows Server 2012. Microsoft Scripting Guy, Ed Wilson, is here. If you are a seasoned Hey, Scripting Guy! Blog reader, you know...
-
Summary : Use Windows PowerShell to put a virtual machine into a saved state. How do I put a virtual machine into a saved state? Use the Save-VM cmdlet with the name of the virtual machine in Hyper-V: Save-VM 'Contoso-FPS' Or you can place all...