Categories
PowerShell

Repeat a command in PowerShell

I just learned something cool new in PowerShell: that you can generate ranges with the “..” operator.

This works even in the old Windows PowerShell.

This is especially cool when you want to repeat a command a certain number of times in a loop.

Leave a Reply

Your email address will not be published. Required fields are marked *