Remove spaces from a string – Powershell

Recently had a need to remove the spaces from a string in powershell. Here is a really simple way to do so:

That will return “TestAccountTestAccount”

0 comments… add one

Leave a Comment

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