Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > PowerShell

Vista - 2 powershell eventlogs???

Reply
 
Old 02-08-2008   #1 (permalink)
td


 
 

2 powershell eventlogs???

Can anyone tell me why I have 2 PowerShell Event logs? One says PowerShell
and the other one is Windows PowerShell. The PowerShell log fills up with
Event ID 400s. PowerShell Can't be found. The local Computer may not have
the necessary registry information or DLL files to display message from a
remote computer.
Am I supose to have 2 log files for this? If not how do I get rid of the one
I don't need?

TIA


My System SpecsSystem Spec
Old 02-10-2008   #2 (permalink)
Marco Shaw [MVP]


 
 

Re: 2 powershell eventlogs???

td wrote:
Quote:

> Can anyone tell me why I have 2 PowerShell Event logs? One says
> PowerShell and the other one is Windows PowerShell. The PowerShell log
> fills up with Event ID 400s. PowerShell Can't be found. The local
> Computer may not have the necessary registry information or DLL files to
> display message from a remote computer.
> Am I supose to have 2 log files for this? If not how do I get rid of the
> one I don't need?
>
> TIA
I'm not sure why "PowerShell" is being written to at all. I'm thinking
it is from an old RC? Did you have anything installed before going with
the offical release of PowerShell?

To delete, try:
[system.diagnostics.eventlog]::delete("PowerShell")

The docs lead me to this format, but I've not tested it.

Marco

--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 02-11-2008   #3 (permalink)
alexandair


 
 

Re: 2 powershell eventlogs???

On Feb 11, 2:01*am, "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com>
wrote:
Quote:

> td wrote:
Quote:

> > Can anyone tell me why I have 2 PowerShell Event logs? One says
> > PowerShell and the other one is Windows PowerShell. The PowerShell log
> > fills up with Event ID 400s. PowerShell Can't be found. The local
> > Computer may not have the necessary registry information or DLL files to
> > display message from a remote computer.
> > Am I supose to have 2 log files for this? If not how do I get rid of the
> > one I don't need?
>
Quote:

> > TIA
>
If you were beta user of Windows PowerShell you would have MonadLog
too. :-)

-aleksandar
http://powershellers.blogspot.com

My System SpecsSystem Spec
Old 02-11-2008   #4 (permalink)
Marco Shaw [MVP]


 
 

Re: 2 powershell eventlogs???

Quote:

> If you were beta user of Windows PowerShell you would have MonadLog
> too. :-)
>
> -aleksandar
> http://powershellers.blogspot.com
>
I think Monad became PowerShell as of RC2:
http://groups.google.com/group/micro...fdc00e11444365
My System SpecsSystem Spec
Old 02-11-2008   #5 (permalink)
td


 
 

Re: 2 powershell eventlogs???

Thank you for replying....I am not a beta user. I installed all of the
recomendations from the Exchange 2007 CD. Then I installed SP1. I did
remember seeing a post about the Monad log it briefly described how to go
into the registry and delete the eventlog. I did not see the key in the
regeistry to delete.



"Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
news:e7Tf9xJbIHA.1208@xxxxxx
Quote:

>
Quote:

>> If you were beta user of Windows PowerShell you would have MonadLog
>> too. :-)
>>
>> -aleksandar
>> http://powershellers.blogspot.com
>>
>
> I think Monad became PowerShell as of RC2:
> http://groups.google.com/group/micro...fdc00e11444365
My System SpecsSystem Spec
Old 02-11-2008   #6 (permalink)
Marco Shaw [MVP]


 
 

Re: 2 powershell eventlogs???

td wrote:
Quote:

> Thank you for replying....I am not a beta user. I installed all of the
> recomendations from the Exchange 2007 CD. Then I installed SP1. I did
> remember seeing a post about the Monad log it briefly described how to
> go into the registry and delete the eventlog. I did not see the key in
> the regeistry to delete.
I believe the Exchange Management Shell (EMS) is based on RC2, so
whatever issues there might have been with RC2, you're going to see them
on a system that has EMS installed.

Searched the web and don't see this as an issue anywhere though, which
is kind of surprising...

You options seem to be:
1. Just remove the log as I indicated in a previous post.
2. Try installing PowerShell v1 on the system, *then* do #1.

Test in a non-prod environment first. EMS is just a snapin to PowerShell.


--
Microsoft MVP - Windows PowerShell
http://www.microsoft.com/mvp

PowerGadgets MVP
http://www.powergadgets.com/mvp

Blog:
http://marcoshaw.blogspot.com
My System SpecsSystem Spec
Old 02-11-2008   #7 (permalink)
Shay Levi


 
 

Re: 2 powershell eventlogs???


The "Windows PowerShell" log is for Windows PowerShell.
The "PowerShell" log is for Exchange (2007) and can be found only on Exchange
or Exchange admins
computers (where Exchange admin tools have been installed) .

-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
Quote:

> Thank you for replying....I am not a beta user. I installed all of the
> recomendations from the Exchange 2007 CD. Then I installed SP1. I did
> remember seeing a post about the Monad log it briefly described how to
> go into the registry and delete the eventlog. I did not see the key in
> the regeistry to delete.
>
> "Marco Shaw [MVP]" <marco.shaw@_NO_SPAM_gmail.com> wrote in message
> news:e7Tf9xJbIHA.1208@xxxxxx
>
Quote:
Quote:

>>> If you were beta user of Windows PowerShell you would have MonadLog
>>> too. :-)
>>>
>>> -aleksandar
>>> http://powershellers.blogspot.com
>> I think Monad became PowerShell as of RC2:
>> http://groups.google.com/group/micro....powershell/br
>> owse_thread/thread/06fdc00e11444365

My System SpecsSystem Spec
Old 02-11-2008   #8 (permalink)
alexandair


 
 

Re: 2 powershell eventlogs???

On Feb 11, 3:01*pm, Shay Levi <n...@xxxxxx> wrote:
Quote:

> The "Windows PowerShell" log is for Windows PowerShell.
> The "PowerShell" log is for Exchange (2007) and can be found only on Exchange
> or Exchange admins
> computers (where Exchange admin tools have been installed) .
>
> -----
> Shay Levi
> $cript Fanatichttp://scriptolog.blogspot.com
Shay,

That isn't true. I have MonadLog, PowerShell and "Windows PowerShell"
logs on my machine and I've never touched Exchange 2007.

-aleksandar
http://powershellers.blogspot.com
My System SpecsSystem Spec
Old 02-11-2008   #9 (permalink)
Shay Levi


 
 

Re: 2 powershell eventlogs???

I can't tell for monad logs but based on dozens of machines, all computers
running Windows PowerShell v1 and CTP
had only Windows PowerShell log. Exchange computers had another one, the
PowerShell log.


-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
Quote:

> On Feb 11, 3:01 pm, Shay Levi <n...@xxxxxx> wrote:
>
Quote:

>> The "Windows PowerShell" log is for Windows PowerShell.
>> The "PowerShell" log is for Exchange (2007) and can be found only on
>> Exchange
>> or Exchange admins
>> computers (where Exchange admin tools have been installed) .
>> -----
>> Shay Levi
>> $cript Fanatichttp://scriptolog.blogspot.com
> Shay,
>
> That isn't true. I have MonadLog, PowerShell and "Windows PowerShell"
> logs on my machine and I've never touched Exchange 2007.
>
> -aleksandar
> http://powershellers.blogspot.com

My System SpecsSystem Spec
Old 02-12-2008   #10 (permalink)
Shay Levi


 
 

Re: 2 powershell eventlogs???

FYI,

1. I Installed PowerShell v1 on a clean XP SP2, "Windows PowerShell" Event
log has been created.
2. Installed Exchange 2007 managment tools on the XP box, a new "PowerShell"
Event log has been created.



-----
Shay Levi
$cript Fanatic
http://scriptolog.blogspot.com
Quote:

> On Feb 11, 3:01 pm, Shay Levi <n...@xxxxxx> wrote:
>
Quote:

>> The "Windows PowerShell" log is for Windows PowerShell.
>> The "PowerShell" log is for Exchange (2007) and can be found only on
>> Exchange
>> or Exchange admins
>> computers (where Exchange admin tools have been installed) .
>> -----
>> Shay Levi
>> $cript Fanatichttp://scriptolog.blogspot.com
> Shay,
>
> That isn't true. I have MonadLog, PowerShell and "Windows PowerShell"
> logs on my machine and I've never touched Exchange 2007.
>
> -aleksandar
> http://powershellers.blogspot.com

My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
WMI & Eventlogs VB Script
Installing PowerShell dependent features on W2K8 with PowerShell CTP PowerShell
Powershell Plus - Free for non commercial Use and Powershell Analyzer1.0 released PowerShell
Automatic PowerShell Error Parsing in PowerShell Analyzer and PowerShellPlus PowerShell
PowerShell Leaders Join Forces and offer a pre-release version of PowerShell for 50% off the retail value PowerShell


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46