Windows Server 2008 Core - Check Event Log
Jun 30th 2007webmasterWindows Server 200x/ 2008/ Server Core/ R2 & PowerShell
To check the System event log on a remote Windows Server 2008 Core machine, you must connect via WMI if PowerShell is used:
[PS] C:\> Get-WmiObject -class Win32_NTLogEvent `
-computer Win2k8core -credential adminuser `
| Where { $_.logfile -match “system” } `
| Select * | Sort-Object -desc timewritten
The PowerShell cmdlet equivalent works on a local machine only:
[PS] C:\>Get-EventLog system -newest 5 | Format-List
Alternatively, use Connect to another computer (Server Core) in the Computer Management MMC snap-in from any Windows OS GUI such as Windows Server 2008/2003 or Windows Vista. This effectively allows you to manage most aspects of a Server Core machine remotely with a graphical user interface.
Technorati tags: PowerShell, Longhorn, Windows Server Core 2008
No Comments »
Leave a Reply
You must be logged in to post a comment.