vagrant

https://github.com/mitchellh/vagrant

Ruby

Vagrant is a tool for building and distributing development environments.

VagrantPlugins::CommunicatorWinRM::Communicator#wrap_in_scheduled_task

Creates and uploads a PowerShell script which wraps a command in a
scheduled task. The scheduled task allows commands to run on the guest
as a true local admin without any of the restrictions that WinRM puts
in place.

Source | Google | Stack overflow

Edit

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

cd vagrant

open plugins/communicators/winrm/communicator.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-VagrantPlugins--CommunicatorWinRM--Communicator-wrap_in_scheduled_task-for-pr


# Commit to git

git add plugins/communicators/winrm/communicator.rbgit commit -m "better docs for VagrantPlugins::CommunicatorWinRM::Communicator#wrap_in_scheduled_task"


# Open pull request

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

hub fork

git push <your name> -your-name--update-docs-VagrantPlugins--CommunicatorWinRM--Communicator-wrap_in_scheduled_task-for-pr

hub pull-request


# Celebrate!