Sort Clipboard Text with PowerShell

Sort-ClipText.ps1 reads the text in your clipboard, sorts it, and creates a new sorted item in your clipboard.  Note that the split statement is a regular expression.  The pipe character represents the logical OR.  I also used splitstringoptions to remove the empty lines after sorting.

Script Text

About Alan

See http://www.akaplan.com/blog/about/
This entry was posted in PowerShell, Scripting and tagged . Bookmark the permalink.

Leave a Reply