Need help with PowerShell for an assignment

Hi

I have never really used PowerShell, then BAM! in my MCSE course i need to retrieve one day’s log from an application, and migrate it to HTML.

I know this is probably really easy, but most articles i got to expected me to know some PowerShell even just a little.

Please help me

Look at Get-EventLog and Get-WinEvent, as well as ConvertTo-HTML and Out-File. Make sure you’ve run Update-Help in your shell, so that you have the documentation for this, and use Get-Help to read their help and look at the provided examples. The three of them will do what you need.

And I’d selfishly suggest that a copy of “Learn PowerShell in a Month of Lunches” will be a big help to your career :).

Thank you so much!! I will take a look :slight_smile:

By the way Carol, you would help yourself if you used thread titles like, “Convert log data to HTML.”

http://powershell.com/cs/forums/p/10414/17553.aspx#17553

Thank you :slight_smile: I will keep that in mind