PowerShell for Windows Admins:

Hyper-V

1

July 8, 2016  8:37 AM

PowerShell Direct example

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Hyper-V, Powershell, Virtualization, Windows Server 2016

Last week I mentioned PowerShell and how you can create a PowerShell Remoting session to a Virtual Machine that’s running on Hyper-V Here’s an example of it in use: $cred = Get-Credential W16TP5TGT01\Administrator $s = New-PSSession -VMName W16TP5TGT01 -Credential $cred Create the...

February 17, 2015  1:37 PM

Shutting down machines in parallel

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Hyper-V, Powershell

My test lab is a set of virtual machines running on a Lenovo w1510 laptop. When I’ve finished working for the day I want to shut down the virtual machines and the laptop. I may have anywhere between 2 and 8 (or more) VMs running so scripting the shutdown helps a lot. Machines can be shutdown...


February 10, 2015  1:36 PM

Starting VMs based on WSUS state

Richard Siddaway Richard Siddaway Profile: Richard Siddaway
Hyper-V, Powershell, WSUS

I use WSUS in my lab to update machines – means I only have to download updates once. The issue is that I have to start the VMs so they can communicate with the WSUS server. WSUS will start to flag warnings if machines haven’t contacted the WSUS server for more than that length of...


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: