PowerShell Community

A place for the community to learn PowerShell and share insights

How to Use $PSDefaultParameterValues

Q: When I use cmdlets like Receive-Job and Format-Table, how do I change default values of the Keep and Wrap parameters? A: Use the $PSDefaultValues automatic variable. When I first discovered PowerShell's background jobs feature, I would use Receive-Job to view job output - only to discover it's no longer there. And almost too often to ...