powershell script delete first character in output

Question:

How would I delete the first line in the output from this command? If the output is A123456, I just want it to show me 123456 with the A.

Answer:

Just get the substring starting at the second letter(index 1).

If you just need the value, you could do it like this:

Source:

powershell script delete first character in output by licensed under CC BY-SA | With most appropriate answer!

Leave a Reply