How to schedule or turn off 30 VM's (Vmware)? Is there a template?

hi guys

we have power outage occurring in our building tomorrow. I'm going to have to power the Virtual Machines down, around 30 of them and then the hosts also.

Is there a way of creating a template of some sort in Vcenter and have it shut down via a schedule through a template without having to do it manually for every single virtual machine? Is there a way of setting up a template of some sort to apply to them all?


Thanks for helping
Yashy
LVL 1
YashyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

CESNetwork AdministratorCommented:
you could look into a Power-CLI script to do this.
0
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
Just run a scheduled task in windows its easier

At VMware level use SRM for this, but you need the right SANs and right licencing.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Using vSphere Client - Highlight and select them ALL and select Shutdown OS.

Using vSphere Client - Highlight and select them ALL and select Power ON!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
lol cant believe i didnt say that, was just thinking about it outside.

You need vmware tools on all machines for this to work though.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
VMware Tools is never optional!
0
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
agreed !

if you know your vmware
I've had guys working for me that build me vms with no tools installed :*(
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Never been trained correctly, nothing to do with knowing VMware, it's like not knowing the Alphabet!

Basic 101! and we would never have employed them, and screened candidates out like that before hire! It's almost one of out 200 Questions at Interview!

you can send them here....next time!

Part 8: HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server

Part 9: HOW TO: Install VMware Tools for Linux on a VMware Linux virtual machine on a VMware vSphere Hypervisor 5.1 (ESXi 5.1) Host Server
0
Mark BillExchange, AD, SQL, VMware, HPE, 3PAR, FUD, Anti MS Tekhnet, Pro EE, #1Commented:
glad i can say i did not participate in the hiring process  :) good day my friend

agreed amateur stuff

VMWARE&#1
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.