![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Duplicate Parameter Names in Event Logthis thread has 3 replies and has been viewed 609 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
I am trying to report on print usage via our Win 2008 R2 64bit server using Get-WinEvent.
Part of the code is this Code:
#Get print job details $time = $LogEntry.TimeCreated $entry = [xml]$LogEntry.ToXml() $docName = $entry.Event.UserData.DocumentPrinted.Param2 $Username = $entry.Event.UserData.DocumentPrinted.Param3 $Computer = $entry.Event.UserData.DocumentPrinted.Param4 $PrinterName = $entry.Event.UserData.DocumentPrinted.Param5 $PrintSize = $entry.Event.UserData.DocumentPrinted.Param7 $PrintPages = $entry.Event.UserData.DocumentPrinted.Param8 Code:
- <DocumentPrinted xmlns:auto-ns3="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://manifests.microsoft.com/win/2005/08/windows/printing/spooler/core/events"> <Param1>125</Param1> <Param2>document</Param2> <Param3>test1</Param3> <Param4>\\IP ADDRESS</Param4> <Param5>property1</Param5> <Param6>property1</Param6> <Param7>296244</Param7> <Param7>1</Param7> </DocumentPrinted> Dave |
|
#2
|
|||||||
|
|||||||
|
Did you ever figure out how to get the parameter's fixed? Was there a hotfix for it? I'm having the same exact problem.
|
|
#3
|
||||||||
|
||||||||
|
Quote:
Off the top of my head I am not sure, I will go back through my scripts to see what I did, but I seem to remeber we did something clever in Excel to get the page count Dave |
|
#4
|
|||||||
|
|||||||
|
Ah ha! I performed all of the Windows Updates (including Service Pack 1) and that fixed the Param7 issue. The second Param7 is now Param8 in the XML data. Thanks!
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| NetBT Duplicate name event | verbalh | Windows Server 2000 / 2003 | 7 | 14th June 2009 07:14 |
| KDC Event ID 11 - Cannot find the duplicate name | wullieb1 | Active Directory | 11 | 16th February 2009 07:53 |
| Duplicate ALias Names | Jimleslie77 | Exchange 2000 / 2003 | 2 | 4th March 2008 15:20 |
| tcp/ip parameter | gaddo | Windows Server 2000 / 2003 | 1 | 12th September 2005 11:16 |
| Duplicate computer names | tonyyeb | Windows 2000 Pro, XP Pro | 1 | 31st August 2005 17:23 |