?
Solved

Scripting Virtual Server to add machines?

Posted on 2007-03-19
3
Medium Priority
?
208 Views
Last Modified: 2010-04-18
Is it possible to create a script that will create/add a whole set of virtual machines on to an instance of Virtual Server rather than running through the 'add machine' function in Virtual Server 2005 R2?

We are currently going through a virtualisation implementation and are having to move machines around quite a bit.

Any ideas?
0
Comment
Question by:ddh76
2 Comments
 
LVL 3

Accepted Solution

by:
mattedk earned 1000 total points
ID: 18747743
On Error Resume Next

Set objVS = CreateObject("VirtualServer.Application")
errReturn = objVS.CreateVirtualMachine("Scripted Machine", _
    "C:\Scripts\Shared Virtual Machines\Scripted")

-------

http://www.microsoft.com/technet/scriptcenter/scripts/vs/default.mspx?mfr=true

You can find more examples here
0
 
LVL 1

Expert Comment

by:Computer101
ID: 20286945
Forced accept.

Computer101
EE Admin
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Screencast - Getting to Know the Pipeline

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question