Modifying script to accept input from Text file?

Welcome Forums General PowerShell Q&A Modifying script to accept input from Text file?

Viewing 2 reply threads
  • Author
    Posts
    • #251639
      Participant
      Topics: 27
      Replies: 28
      Points: 250
      Rank: Participant

      Hi People,

      I need to ask your help in modifying the script below so that it can take input from a list of servers from a text file.

      like:

      Note: this is from: https://www.powershelladmin.com/wiki/Get_Linux_disk_space_report_in_PowerShell

       

      Thank you in advance.

       

    • #251657
      Participant
      Topics: 8
      Replies: 568
      Points: 2,170
      Helping Hand
      Rank: Community Hero

      Are you asking for help or asking for someone to do it for you? What issues are you running into when attempting to configure it to take input?

    • #251702
      Participant
      Topics: 0
      Replies: 1
      Points: 7
      Rank: Member

      @IT Engineer, If I understand what you are asking for, this is how I utilize data from a text file and output to a CSV.

       

       

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