vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

Vagrant::Util::Platform.windows_hyperv_admin?

Checks if the user running Vagrant on Windows is a member of the
"Hyper-V Administrators" group.

From: https://support.microsoft.com/en-us/kb/243330
SID: S-1-5-32-578
Name: BUILTIN\Hyper-V Administrators

Source | Google | Stack overflow

Edit

git clone [email protected]:mitchellh/vagrant.git

cd vagrant

open lib/vagrant/util/platform.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Vagrant--Util--Platform-windows_hyperv_admin--for-pr


# Commit to git

git add lib/vagrant/util/platform.rbgit commit -m "better docs for Vagrant::Util::Platform.windows_hyperv_admin?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Vagrant--Util--Platform-windows_hyperv_admin--for-pr

hub pull-request


# Celebrate!