Cool powershell trick:
“a,b,c” -split “,” | select -First 1 -Last 1
You can filter a list down to the first and last items in one line.
Random outpourings of a software developer
Cool powershell trick:
“a,b,c” -split “,” | select -First 1 -Last 1
You can filter a list down to the first and last items in one line.