Skip to content

Instantly share code, notes, and snippets.

@sowamazing
Created January 21, 2016 16:36
Powershell 2
$Process = New-Object system.Diagnostics.Process
$Process.StartInfo = New-Object System.Diagnostics.ProcessStartInfo("C:\JennsFolder\projects\Loggly\tailclient-1.0.1\bin\livetail.bat","-m `"HTTP`"")
$Process.StartInfo.RedirectStandardOutput = $true
$Process.StartInfo.RedirectStandardError = $true
$Process.StartInfo.UseShellExecute = $false
$Process.Start() | Out-Null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment