PowerShell - Scripting Best Practices
You wrote a script using
Write-Debug messages, but no debug output appears when running it with -Debug. What is the most likely cause?