PowerShell for Windows Admins:

Hyper-V

1

January 14, 2014  12:24 PM

VM disk info



Posted by: Richard Siddaway
Hyper-V, PowerShell, Windows Server 2012, Windows Server 2012 R2

A question came into the forum about getting information on the virtual disks associated with particular Hyper-V virtual machines. Is a bit of a digging exercise but this gets the results: Get-VM | foreach { $VMname = $psitem.Name Get-VMHardDiskDrive -VMName $VMname  | foreach { Get-VHD...

September 10, 2013  3:27 AM

PowerShell one-liner for virtual disk analysis



Posted by: Richard Siddaway
Hyper-V, PowerShell 3, Windows Server 2012

I needed to look at my virtual machines & their disk sizes – with Windows 2012 R2 upgrade in the works I need to do a bit more tidy up I found two cmdlets in the Hyper-V module: get-vmharddiskdrive – can be related to the virtual machine but doesn’t give a size get-vhd –...


January 17, 2013  1:49 PM

Starting virtual machines for WSUS



Posted by: Richard Siddaway
Hyper-V, Windows Server 2012, WSUS

My test environment usually has a dozen or so machines at any one time. Some of these are short lived and used for a particular piece of testing – others are kept for  years. I decided that I wanted to keep up to date on the patching of these virtual machines so installed WSUS on a...


December 12, 2012  2:18 PM

Creating Virtual machines #1: Creating the VM



Posted by: Richard Siddaway
Hyper-V, PowerShell 3, Virtualisation, Windows Server 2012

I’ve had two projects in mind for a while.  First I need to build a new WSUS server in my virtual environment & secondly I want to automate as much of the VM creation and configuration as possible. Oh – and I’m not using SC Virtual Machine Manager. 

I’ll be using...


March 30, 2012  8:49 AM

PowerShell in Practice offer today only



Posted by: Richard Siddaway
Active Directory, Books, Hyper-V, Network, Operating System, PowerShell, Processor, Registry, WMI

Manning have PowerShell in Practice on a half price offer today. Go to www.manning.com and use code dotd0330cc when ordering


November 14, 2011  2:15 PM

Swapping virtual switches



Posted by: Richard Siddaway
Hyper-V, PowerShell v2

Virtualisation is a great technique for creating demo labs. I took my laptop with a bunch of VMs of Windows 8/Server 8 to the PowerShell Deep Dive.  Normally I run my “server” laptop and my development laptop on a switch or connected via a cross over cable. The VM nics are bound to the...


August 6, 2010  12:13 PM

Lenovo W510, Hyper-V and BSOD



Posted by: Richard Siddaway
Hardware, Hyper-V, Processor, Windows 2008 R2

Beginning of the week I took delivery of a Lenovo W510 – i7 quad core with Hyper-Threading (Windows sees 8 cores) and 16GB of RAM.  From reviews I’d seen it seemed to run Hyper-V OK so it fitted the bill for a mobile lab. Partitioned the disk OK and got Windows 2008 R2 installed.  Had to...


1

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: