Skip to content

Instantly share code, notes, and snippets.

@RIKIKU
Last active September 6, 2017 03:50
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save RIKIKU/a85459f36ea17ab8345ed2b395bd52ea to your computer and use it in GitHub Desktop.
@"
?
google.com 8.8.8.8
"@ | out-file "$env:USERPROFILE\Desktop\in.txt" -Encoding utf8 -Force
Start-Process nslookup -RedirectStandardInput "$env:USERPROFILE\Desktop\in.txt" -RedirectStandardOutput "$env:USERPROFILE\Desktop\out.txt"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment