Skip to content

Instantly share code, notes, and snippets.

@ciekawy
Created March 2, 2026 13:42
Show Gist options
  • Select an option

  • Save ciekawy/30867153926b9cc6cbbe43ed88bd09f1 to your computer and use it in GitHub Desktop.

Select an option

Save ciekawy/30867153926b9cc6cbbe43ed88bd09f1 to your computer and use it in GitHub Desktop.
WEB-9: Quick network DNS configuration for Windows VM
# 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