Skip to content

Instantly share code, notes, and snippets.

@theagreeablecow
Created June 2, 2012 02:27
Show Gist options
  • Save theagreeablecow/2856232 to your computer and use it in GitHub Desktop.
Save theagreeablecow/2856232 to your computer and use it in GitHub Desktop.
Event log Parameters
ForEach ($LogEntry in $EventLog)
{
$entry = [xml]$LogEntry.ToXml()
$docName = $entry.Event.UserData.DocumentPrinted.Param2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment