I have a range of numbers (say, 20-100). Lets say the following are occupied: 20, 21, 22, 24. 25, 26, 28.
I ask the user how many free numbers he wants. Lets say, he says three numbers. So my output should be 23, 27, 29.
How can I quickly do this with powershell?
Thanks!