Created
March 11, 2018 13:42
-
-
Save a-r-m-i-n/439b891efe8f05aff82126ec78461ee1 to your computer and use it in GitHub Desktop.
Windows Batch file to perform "vagrant halt" on all running machines.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
vagrant global-status | awk '/running/{print $1}' | xargs -r -d '\n' -n 1 -- vagrant halt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment