If I wanted to change the behavior of each cmdlet in a Powershell session to pass a detailed flag, I could achieve this in Powershell v3 with $ PSDefaultParameterValues, like this
$PSDefaultParameterValues['*:Verbose'] = $true
What would be a possible workaround for Powershell v2?
source share