How Do I CONTINUE TO the NEXT LINE in a script?

This topic contains 2 replies, has 2 voices, and was last updated by  Ramon Tan 1 week, 5 days ago.

  • Author
    Posts
  • #102149

    Ramon Tan
    Participant

    Sir/Madam,
    Is there a way to continue a "long line" of commands (with as many as 3 or 4 pipes) onto the next line in a script?
    Is it considered "bad practice" to have a chain this long, or is it better to "do one step at a time"?
    In any case, I'd appreciate if this magic character or escape sequence or symbol, can be made known.
    Somehow, after a few minutes of searching and digging with keywords like "continue to next line in a script" (and variations of it), I can't find a clue.
    Also, is there a SEARCH function in the Powershell Q&A Forum?
    Much thanks.
    Sincerely,
    RTan

  • #102151

    Don Jones
    Keymaster
    • #102152

      Ramon Tan
      Participant

      Very nice, Very NEAT!!!
      Mr Jones, I am extremely grateful for your website Powershell.org's Q&A Forum.
      I have learned tremendously in a few weeks time, mostly from examples in your book.
      Your unique approach, which is to point the learner in the right direction, increases learning beyond getting just the answer, like math problems/exercises in a textbook: getting into the solution(s) process is more critical than getting the answer.
      But the most valuable source of knowledge and know-how to me is this Q&A Forum.
      More power to you and your team for their excellent work and willingness to share your knowledge.

      Best,
      RTan

You must be logged in to reply to this topic.