Advertisement
jcguzmanh

Untitled

Jan 24th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. ping 8.12.98.1 -t | Select-String "Reply" | foreach $_ { $a = Get-Date
  2. >> $a.ToString() + " " + $_ } | Out-File "C:\users\$env:username\Documents\pingLog$((get-date).tostring("HHmmss")).txt"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement