Solved

Scripting Virtual Server to add machines?

Posted on 2007-03-19
3
177 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
3 Comments
 
LVL 3

Accepted Solution

by:
mattedk earned 250 total points
Comment Utility
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
Comment Utility
Forced accept.

Computer101
EE Admin
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

by Batuhan Cetin In this article I will be guiding through the process of removing a failed DC metadata from Active Directory (hereafter, AD) using the ntdsutil tool in a Windows Server 2003 environment. These steps are not necessary in a Win…
by Batuhan Cetin Within the dynamic life of an IT administrator, we hold many information in our minds like user names, passwords, IDs, phone numbers, incomes, service tags, bills and the order from our wives to buy milk when coming back to home.…
This video discusses moving either the default database or any database to a new volume.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

744 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now