Tag Archives: Switch

Creating a PowerShell Function to display error messages

When writing your code using PowerShell, and based on the complexity of the script we need to create output to troubleshoot/debug the code. We can always write-host “xxx” and see…