Technology at work
Thursday, 5 September 2013
PowerShell script to use ping
$program = "C:\windows\system32\ping.exe"
$programArgs = "192.168.1.1", "-n", 4
Invoke-Command -ScriptBlock { & $program $programArgs }
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment