Not exactly #TodayILearned because I vaguely remember learning that you can do this, but had never got around to doing so.

This is how you can set a default parameter in Powershell. As far as I know, it works with any cmdlet. I’m using it here to set the default for Pester to show me all the results of all the tests….because I love seeing that sea of green :)

$PSDefaultParameterValues += @{ 'Invoke-Pester:Output' = 'Detailed' }

#Powershell