Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $PSBoundParameters.GetEnumerator() |
- ForEach-Object -Begin {
- $Width = $PSBoundParameters.Keys.Length | Sort-Object | Select-Object -Last 1
- } -Process {
- "{0,-$($Width)} : '{1}'" -f $_.Key, ($_.Value -join ', ') |
- Write-Verbose
- }
Add Comment
Please, Sign In to add comment