Author Posts

February 26, 2016 at 9:03 am

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

February 26, 2016 at 9:20 am

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.

February 26, 2016 at 9:20 am

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

February 26, 2016 at 9:22 am

Thank you so much!! I will take a look 🙂

February 27, 2016 at 3:38 am

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

February 28, 2016 at 9:41 am

Thank you 🙂 I will keep that in mind