-
Notifications
You must be signed in to change notification settings - Fork 27
Closed
Milestone
Description
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
Metadata
Metadata
Assignees
Labels
No labels