Get-EventLog delays to finish
hi,
i have simple powershell query:
get-eventlog -computername $server -logname system -entrytype warning -after (get-date).adddays(-1) | {$_.eventid -eq 108} | select timegenerated, message
it displays results takes time finish query after results displayed. if run remote computer takes ages while script finishes after results displayed. wrong?
thanks
Windows Server > Windows PowerShell
Comments
Post a Comment