Ozan Cansel
2018-11-14 13:04:39 UTC
Hello, I want to run my powershell script dynamically with elevated
privileges. For example, on the host, I want to run vagrant powershell -c
"any command here". I know it can be done with provisioning with elevated
privilege but I need to run it on after 10 minutes from machine is up. Is
it possible ? I searched, googled but I could not found. On winrm-plugin
documents supports it with vagrant winrm -c -e "<cmd>" but when I installed
that plugin vagrant suggests to uninstall it. Could you help me about it ?
--
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4227b10b-3ebf-49f4-b188-88bb2b9567cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
privileges. For example, on the host, I want to run vagrant powershell -c
"any command here". I know it can be done with provisioning with elevated
privilege but I need to run it on after 10 minutes from machine is up. Is
it possible ? I searched, googled but I could not found. On winrm-plugin
documents supports it with vagrant winrm -c -e "<cmd>" but when I installed
that plugin vagrant suggests to uninstall it. Could you help me about it ?
--
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 vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/4227b10b-3ebf-49f4-b188-88bb2b9567cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.