Tagged Questions
-2
votes
0answers
21 views
Creating a Windows VPS solution [closed]
I got the assignment of putting up a VPS solution for my boss. I would have prefered KVM and libvrt. But he is adamant about using Hyper-V unless i can come up with some really good arguments. The ...
0
votes
0answers
17 views
Alternative for Obsolete -VhdDestinationPath Parameter
I am trying to import a virtual machine with PowerShell and I want to specify which folder the VHD file should be placed in. According to http://technet.microsoft.com/en-us/library/hh848495.aspx the ...
1
vote
1answer
44 views
Automating windows server 2008 installation in hyper V with powershell
I often set up servers in Hyper V on my laptop (running windows server 2008) to test varoius software.
Is there a way in powershell to build an image in Hyper V and run windows update on that image? ...
2
votes
0answers
80 views
Systems Center service template including AD
I'm trying to design an SCVMM (2012 SP1) service template that contains several machines joined in a domain, but the trick is that the very domain controller is also in the template. Ie. the template ...
0
votes
1answer
141 views
Create multiple snapshots on Hyper-V 2012 PowerShell all at once
In the Hyper-V GUI, it is possible to create a collection of snapshots across multiple VMs by selecting multiple VMs, then clicking Snapshot.
In PowerShell on Windows Server 2012, you can request ...
1
vote
1answer
101 views
SCVMM 2008 R2 Powershell Commands
I am running SCVMM 2008 R2 with 3 hosts. Right now I am patching the hosts, so I am running the command
disable-vmhost hostA -MoveWithinCluster
Is there a command that I can run or switch I can ...
1
vote
1answer
457 views
Using Powershell, how do I eject an ISO image from a Hyper-V virtual machine?
I'm using the Hyper-V module for PowerShell, and I've successfully mounted an ISO file onto a virtual machine. Question is: how do I eject (or unmount) it?
I'd prefer to use the PSHyperV stuff, if ...
2
votes
2answers
254 views
script to run windows update on hyper-V images
I have over 10 hyper-v images that I use for testing various projects. Some I use often some less so.
It is a lot of work starting each of the machines individually to run windows update.
I was ...
3
votes
1answer
574 views
How can I make PS script to create Hyper-V VM set administrator password for VM?
When I create a VM in Virtual Machine Manager (VMM) I have an option to set a local administrator password for it. But when I use the "View Script" feature on the last screen of the wizard, I get a ...
0
votes
3answers
458 views
How can I install Powershell on Microsoft Hyper-V Server 2008?
I am running the stand-alone version of Hyper-V, Microsoft Hyper-V Server 2008, and would like to install Powershell. Ill be using it to use the Management Library script.
How can I do this?
Thanks,
...
0
votes
1answer
320 views
Restore a snapshot from a VM, not the Host
I have a Hyper-V VM which needs to be restored to its previous snapshot daily. I would like to automate this process. I’ve heard of the Powershell Management Library for Hyper-V on Codeplex, but I am ...