Powershell Tip #84: Retrieve a random name from a file

By | December 3, 2015

Tip: In my FAQ Spanish I have been asked how to retrieve a random name from a text file which contains names separated by comma.

There are several ways to do that, but I prefer to take advantage of the -InputObject parameter instead of piping to Get-Random.

random-names-powershell-separated-comma


previous-buttonnext-button

Leave a Reply

Your email address will not be published.