title: How to Display the Last Half of a String in the Results Returned by windows "findstr" command?
body: <p>I have a windows 2012 instance on AWS in which I am trying to return the instance ID from the CLI. I can successfully return that info into a variable with this command:</p>
  
  <pre><code>$instanceId = Invoke-WebRequest -Uri http://169.254.169.254/latest/meta-data/instance-id
  </code></pre>
  
  <p>I can then echo the contents of that variable and filter out the pertinent line:</p>
  
  <pre><code>PS C:\Users\Administrator&gt; echo $instanceId | findstr  /b  /c:"Content "
  Content           : i-4bee88888bd72g2a
  </code></pre>
  
  <p>The problem I have is that I wish to return only the string after the colon, so the output would look like:</p>
  
  <pre><code>i-4bee88888bd72g2a
  </code></pre>
  
  <p>What switch can I add to findstr to filter out that string? What is the Microsoft equivalent to sed?</p>