< Back

Set-1PDefaultVaultPath

Fri Jan 10, 2020 5:28 pm

NAME Set-1PDefaultVaultPath



SYNOPSIS

Sets the default 1Password vault directory to a new value.





SYNTAX

Set-1PDefaultVaultPath [-Path] <String> [-WhatIf] [-Confirm] [<CommonParameters>]





DESCRIPTION

Sets the default 1Password vault directory to a new value. The 1Password vault at this location

will be used by other 1Poshword cmdlets unless otherwise specified.





PARAMETERS

-Path <String>

Specifies the root directory of the default 1Password vault. This is the ".agilekeychain" or

".opvault" directory.



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-WhatIf [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Confirm [<SwitchParameter>]



Required? false

Position? named

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>PS ~$ Set-1PDefaultVaultPath /Users/calvin/Dropbox/OtherVault.agilekeychain













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>PS ~$ Set-1PDefaultVaultPath /Users/calvin/Dropbox/OtherVault.opvault















RELATED LINKS