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: 9
      Replies: 9
      Points: 113
      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: 539
      Points: 1,304
      Helping Hand
      Rank: Community Hero
    • #264011
      Senior Moderator
      Topics: 9
      Replies: 1368
      Points: 5,038
      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
  • You must be logged in to reply to this topic.