Just did a PS script
cat test2.bat echo "hello from bat in windows" powershell C:\vagrant\test2.ps1 cat test2.ps1 $username = 'vagrant' $password = 'vagrant' $securePassword = ConvertTo-SecureString $password -AsPlainText -Force $credential = New-Object System.Management.Automation.PSCredential $username, $securePassword Start-Process -Path "http://www.microsoft.com/"-Credential $credential -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/vagrant/issues IRC: #vagrant on Freenode --- You received this message because you are subscribed to the Google Groups "Vagrant" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/CAHqq0ex2B7-ZQ%2B3b-9YW%3DKeBpnGnqgsTwgdaqwULmo83yWTJ4A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
