Posts

Showing posts from January 11, 2019

Speak Kindly of Your Volunteer Fire Department

Image
[dummy-text] Speak Kindly of Your Volunteer Fire Department From Wikipedia, the free encyclopedia Jump to navigation Jump to search This article needs additional citations for verification . Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed. ( November 2013 ) (Learn how and when to remove this template message) Speak Kindly of Your Volunteer Fire Department Studio album by Robert Pollard and Doug Gillard Released December 14, 1999  ( 1999-12-14 ) Genre Rock and roll, indie rock Label Fading Captain Series/Luna Robert Pollard and Doug Gillard chronology Kid Marine (1999) Speak Kindly of Your Volunteer Fire Department (1999) Choreographed Man of War (2001) Speak Kindly of Your Volunteer Fire Department is an album released by Robert Pollard and Doug Gillard in 1999. [1] For the album, Gillard recorded instrumental tracks for songs Pollard had written (along with

powershell cmdlet how to pipe information or error to write-eventlog

Image
2 1 i'm trying to output to eventlog to the correct Entry Type (Information,Warning,Error) based on the stream that is coming out of my cmdlet, something like this: function myfunction Param( [switch]$stream1, [switch]$stream2 ) if ($stream1) write-output 'stream 1 msg' if ($stream2) write-error 'stream 2 msg' $eventlogparams = @'logname'='application';'source'='myapp';'eventid'='1' myfunction -stream1 -stream2 ` 1> write-eventlog @eventlogparams -entrytype information -message $_ ` 2> write-eventlog @eventlogparams -entrytype error -message $_ does anyone have an idea of how to accomplish this? powershell event-log io-redirection share | improve this question edited Nov 10 '18 at 20:20 mklement0 127k 20 241 269 asked Nov 10 '18 at 17:54 ErikW ErikW 94 7 you need a source named myapp on the target system. that is created with the