Need help with PowerShell for an assignment

Welcome Forums General PowerShell Q&A Need help with PowerShell for an assignment

This topic contains 5 replies, has 3 voices, and was last updated by

 
Participant
2 years, 8 months ago.

  • Author
    Posts
  • #35743

    Participant
    Points: 0
    Rank: Member

    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

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    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

    Keymaster
    Points: 1,619
    Helping HandTeam Member
    Rank: Community Hero

    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

    Participant
    Points: 0
    Rank: Member

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

  • #35792

    Participant
    Points: 0
    Rank: Member

    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

    Participant
    Points: 0
    Rank: Member

    Thank you 🙂 I will keep that in mind

The topic ‘Need help with PowerShell for an assignment’ is closed to new replies.