split and trim a comma separated string using powershell

Today I saw three different ways of splitting a comma separated string and trimming the items using PowerShell. All of them worked. I decided to put these together for future reference.

Here are all these ways…

Referenced from Technet

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.