Resolves issue where the function provided invalid values when the culture was not 'en-US'.
Set-PASUser
Sets ValueFromPipelinebyPropertyName = $false for ExpiryDate parameter, avoids parameter validation exception when piping object representing user, such as the output from Get-PASUSer, into Set-PASUser.
Get-PASAccountPassword
MachineName parameter changed to string type (previously was incorrectly specified as switch)
Added UserName parameter & ToPsCredential() Method to enable return of Credential Object.
Summary
ConvertTo-UnixTime
Set-PASUser
ValueFromPipelinebyPropertyName = $false
forExpiryDate
parameter, avoids parameter validation exception when piping object representing user, such as the output fromGet-PASUSer
, intoSet-PASUser
.Get-PASAccountPassword
string
type (previously was incorrectly specified asswitch
)UserName
parameter &ToPsCredential()
Method to enable return of Credential Object.Closes issues
Closes #363