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
    Posts
    • #263888
      Participant
      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:
      https://gist.github.com/jtn-webkoncept/53c90738d84eb8cb712e3ded4f7914ec

    • #263891
      Participant
      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.