Output Help

Welcome Forums General PowerShell Q&A Output Help

Viewing 2 reply threads
  • Author
    Posts
    • #274851
      Participant
      Topics: 2
      Replies: 0
      Points: 23
      Rank: Member

      I’ve created this command and I need help in outputting by Service Name, Status, and start type of each dependent service.

      • This topic was modified 1 month, 3 weeks ago by kvprasoon. Reason: code formatting https://powershell.org/forums/topic/where-are-all-my-posts-over-the-years/
      • This topic was modified 1 month, 3 weeks ago by kvprasoon. Reason: Code formatting https://powershell.org/forums/topic/guide-to-posting-code-2/
    • #275103
      Participant
      Topics: 4
      Replies: 422
      Points: 734
      Helping Hand
      Rank: Major Contributor

      It’s not very clear how you want to modify your code but here’s an example for getting the information you want:

       

    • #275115
      Participant
      Topics: 5
      Replies: 349
      Points: 632
      Helping Hand
      Rank: Major Contributor

      Why create a function when the following cmdlets work to start/stop dependent services.

Viewing 2 reply threads
  • You must be logged in to reply to this topic.