ScriptDeck icon indicating copy to clipboard operation
ScriptDeck copied to clipboard

Watchpath log tail

Open Windgraze opened this issue 1 year ago • 0 comments

Watchpath should allow for script to run based on results from a file appearing using -tail. i.e.

Get-Content -Path C:\folder\thisisalog.log -Tail 1 -Wait | % {if ($_ -match "Remote_http") {write-host "run code here"}}

Windgraze avatar Sep 02 '24 02:09 Windgraze