Need help with PowerShell for an assignment

This topic contains 5 replies, has 3 voices, and was last updated by Profile photo of Carol Ann Carol Ann 9 months, 1 week ago.

  • Author
    Posts
  • #35743
    Profile photo of Carol Ann
    Carol Ann
    Participant

    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

  • #35745
    Profile photo of Don Jones
    Don Jones
    Keymaster

    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.

  • #35746
    Profile photo of Don Jones
    Don Jones
    Keymaster

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

  • #35747
    Profile photo of Carol Ann
    Carol Ann
    Participant

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

  • #35792
    Profile photo of Bob McCoy
    Bob McCoy
    Participant

    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

  • #35797
    Profile photo of Carol Ann
    Carol Ann
    Participant

    Thank you 🙂 I will keep that in mind

You must be logged in to reply to this topic.