You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Set-SecretStoreConfiguration outputs a Microsoft.PowerShell.SecretStore.SecureStoreConfig object by default. It may be better to not output unless a -PassThru parameter is passed like other Set-* cmdlets, for example Set-Service. That removes the need for users to pipe to Out-Null or assign it to $null or cast to [void] to suppress the output.
PS C:\>Set-SecretStoreConfiguration-PasswordTimeout 500
Confirm
Are you sure you want to perform this action?
Performing the operation "Changes local store configuration" on target "SecretStore module local store".
[Y] Yes [A] Yes to All [N] No [L] No to All [S] Suspend [?] Help (default is "Y"): y
Vault Microsoft.PowerShell.SecretStore requires a password.
Enter password:
****
Scope PasswordRequired PasswordTimeout DoNotPrompt
-----------------------------------------------
CurrentUser True 500 False
The text was updated successfully, but these errors were encountered:
Currently
Set-SecretStoreConfiguration
outputs aMicrosoft.PowerShell.SecretStore.SecureStoreConfig
object by default. It may be better to not output unless a-PassThru
parameter is passed like otherSet-*
cmdlets, for exampleSet-Service
. That removes the need for users to pipe toOut-Null
or assign it to$null
or cast to[void]
to suppress the output.The text was updated successfully, but these errors were encountered: