Skip to content

Instantly share code, notes, and snippets.

@idkaaa
Created September 18, 2021 01:10
Show Gist options
  • Save idkaaa/d75e7d60219c5eec48b75a7652390bd1 to your computer and use it in GitHub Desktop.
Save idkaaa/d75e7d60219c5eec48b75a7652390bd1 to your computer and use it in GitHub Desktop.
Get-NetRoute -DestinationPrefix 0.0.0.0/0 | Tee-Object -Variable DefaultRoute
$DefaultRoute
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment