|
PowerShell Event Logging Hello,
Until recently I was using PowerShell RC1, however, I have just upgraded to
PowerShell RC2. The upgrade process appeared to complete without issue.
Since the upgrade, I have observed two minor issues concerning event logging:
1. There are now two PowerShell event categories displayed in Event Viewer,
"PowerShell" and "Windows PowerShell". The former appears to replace the
latter, as when I launch PowerShell all events appear in "PowerShell" while
the other remains empty. Can anyone provide information on how to remove what
appears to be a defunct logging category, I haven't had much luck digging any
up.
2. All events logged by PowerShell take the form of:
Event Type: Information
Event Source: PowerShell
Event Category: (4)
Event ID: 400
Date: 10/10/2006
Time: 3:40:51 PM
User: N/A
Computer: METAPHYSICAL
Description:
The description for Event ID ( 400 ) in Source ( PowerShell ) cannot be
found. The local computer may not have the necessary registry information or
message DLL files to display messages from a remote computer. You may be able
to use the /AUXSOURCE= flag to retrieve this description; see Help and
Support for details. The following information is part of the event:
Available, None, NewEngineState=Available
PreviousEngineState=None
SequenceNumber=8
HostName=ConsoleHost
HostVersion=1.0.0.0
HostId=f6b761ff-5e03-41f5-9d0e-be4356bd6413
EngineVersion=1.0.0.0
RunspaceId=45e74591-bfa2-45b7-a7fb-5be49344f3e8
PipelineId=
CommandName=
CommandType=
ScriptName=
CommandPath=
CommandLine=.
While the relevant information appears below the error message, it would be
nice to remove the preceding message if it's not too much trouble. I am
viewing the events on the host computer, and have tried regardless launching
Event Viewer with the /auxsource:ip/netbios/dns paremeters with no success.
Thanks in advance,
-SDL |