Solved

Vmware server multiple VM suspend with dos command line

Posted on 2007-12-04
4
1,903 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
Comment Utility
Virtual Center for VMWare server allows you to have scheduled tasks to power off and on machines.
0
 

Author Comment

by:dgoguet
Comment Utility
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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
ESX Ip address 10 51
configuring Vswitches for Vmotion 21 52
Expansion of Thick Provision Eager Zeroed Drive 2 35
vmware 1 47
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
Teach the user how to edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

762 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

9 Experts available now in Live!

Get 1:1 Help Now