POWERSHELL PING CMD with date and time

CMD to run with date for PING CMD

ping.exe -t COMPUTER-NAME | Foreach{"{0} - {1}" -f (Get-Date),$_}

ping.exe -t COMPUTER-NAME | Foreach{"{0} - {1}" -f (Get-Date),$_} >FILE-NAME.TXT

Comments

Popular posts from this blog

altiris software key

Service Principal Names (SPNs) SetSPN Syntax (Setspn.exe)

Troubleshooting Netlogon Error Codes