PowerShell Community

A place for the community to learn PowerShell and share insights

How to Use $PSDefaultParameterValues

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