Getting the last 108 characters via. invoke-restmethod

Welcome Forums General PowerShell Q&A Getting the last 108 characters via. invoke-restmethod

Viewing 2 reply threads
  • Author
    • #263888
      Topics: 10
      Replies: 16
      Points: 139
      Rank: Participant

      Hi there fellas!

      I am having some difficulties modifiying this script to get last 200 characters of whatever it scans.
      I have no issues with getting the first 200 or so, but finding the variable length of the scanned file, and only giving me the last 108 characters seems to be difficult.

      Can anyone point me in the right direction? 🙂

      The current script:

    • #263891
      Topics: 12
      Replies: 547
      Points: 1,345
      Helping Hand
      Rank: Community Hero
    • #264011
      Senior Moderator
      Topics: 9
      Replies: 1449
      Points: 5,428
      Helping Hand
      Rank: Community MVP

      not sure If I understood the question properly. If you are looking for something to get last 200 chars from a string.

Viewing 2 reply threads
  • The topic ‘Getting the last 108 characters via. invoke-restmethod’ is closed to new replies.