dotfiles
dotfiles copied to clipboard
[Bug]: Fix $PSDefaultParameterValues from Credentials in $PROFILE
Small fix to Line 204 of profile.ps1:
- [x] Changed
$PSDefaultCredentialsto$PSDefaultParameterValues
Before would throw error:
InvalidOperation:
Line |
10 | $PSDefaultCredentials[$PSItem.Name] = $PSItem.Value
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
InvalidOperation:
Line |
10 | $PSDefaultCredentials[$PSItem.Name] = $PSItem.Value
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.