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: 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:
      https://gist.github.com/jtn-webkoncept/53c90738d84eb8cb712e3ded4f7914ec

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