How to check if a string is null or empty in PowerShell?

There are several ways you can check if a string is null or empty in PowerShell, the best way is to use a string method IsNullOrEmpty 

Leave a Reply