Last active
September 1, 2016 16:40
-
-
Save avtar/41ee86cb32da7e764afc7b40e5604e8a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| Param( | |
| [Parameter(Mandatory=$True)] | |
| [String] | |
| [Alias("c")] | |
| $command | |
| ) | |
| $env:HOME = "C:\Users\vagrant" | |
| $env:DOIT_HOST = "localhost" | |
| cd C:\vagrant | |
| doitclient.exe wcmd "refreshenv 1> nul && ${command}" | |
| exit $lastExitCode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment