Created
February 14, 2025 09:51
-
-
Save PetrGlad/2b55db22fa3998e47dafe6a99ae8b21f to your computer and use it in GitHub Desktop.
Virtualbox tips
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
# See https://docs.oracle.com/en/virtualization/virtualbox/6.0/admin/changenat.html#nat-adv-dns | |
$env:PATH = $env:PATH + ";C:\Program Files\Oracle\VirtualBox" | |
VBoxManage list runningvms | |
VBoxManage startvm <VM-NAME> | |
# DNS resolver options | |
VBoxManage modifyvm <VM-NAME> --natdnshostresolver1 on | |
# or | |
VBoxManage modifyvm <VM-NAME> --natdnsproxy1 on | |
# Type in from clipboard (helps entering secrets from a password manager) | |
VBoxManage controlvm <VM-NAME> keyboardputstring (Get-Clipboard) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment