Solved

Vmware server multiple VM suspend with dos command line

Posted on 2007-12-04
4
1,906 Views
Last Modified: 2008-02-01
Hi,
I'd like to suspend 2 virtual machines running on Vmware server v1.0 for backup purpose.
I made a small batch file (using vmware-cmd <vm.vmx> suspend) for use with the arcserve agent but the batch stops after proceeding the first VM.
I Found some solutions for Linux based command line, but nothing for a DOS based script...
Any Idea?
0
Comment
Question by:dgoguet
  • 2
4 Comments
 
LVL 12

Expert Comment

by:bhnmi
ID: 20406772
Virtual Center for VMWare server allows you to have scheduled tasks to power off and on machines.
0
 

Author Comment

by:dgoguet
ID: 20407681
No other way than buying the module? I'm using the freeware version of vmware server with VMs for testing purposes.
0
 
LVL 12

Expert Comment

by:bhnmi
ID: 20407735
You can use the trial version for 30 days. Also, VMWare will keep sending you lic's when you request em from the website.
0
 
LVL 18

Accepted Solution

by:
BSonPosh earned 500 total points
ID: 20407744
Schedule task would probably be best for backup, but to answer your question about the cmd line.

You have a couple of options.

1) use plink.exe Natively you can't, but using a free download program called plink.exe you can run vmware-cmd from a windows box.
2) If your willing to install powershell as well it gets even better. I have script that will do what you want already written here http://bsonposh.com/modules/wordpress/?p=60 not to mention VMWare is going to release a set of CMDLets for powershell early next year and you will be do everything from the cmdline. Its awesome.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

911 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

19 Experts available now in Live!

Get 1:1 Help Now