Skip to content

Automated power off and power on of lab environments and the physical hardware

License

Notifications You must be signed in to change notification settings

brandonleegit/LabPower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LabPower Script

Automated power off and power on of lab environments and the physical hardware

Purpose

Due to skyrocketing energy prices, running a home lab with many power hungry servers can be expensive over time. This is a simple power up and power down script that works with Supermicro SMCIPMITool to manage the power of Supermicro servers after gracefully shutting down or suspending virtual machines running in VMware ESXi.

Installation

Clone the repo down and edit the passwords in the PS1 files to connect to your vSphere environment and your out-of-band management

Video explanation

https://youtu.be/q69VZkdJiCk

VMware vSphere

If you are working with a VMware vSphere environment, you will need to install VMware PowerCLI. To install VMware PowerCLI, you can issue the command:

Install-module VMware.PowerCLI

Proxmox PowerShell

If you would like to use the script with Proxmox, you will need to install the Proxmox Corsinvest.ProxmoxVE.Api PowerShell module here:

https://www.powershellgallery.com/packages/Corsinvest.ProxmoxVE.Api

About

Automated power off and power on of lab environments and the physical hardware

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published