PoShKeePass
PoShKeePass copied to clipboard
Not able to add new entry to keypass db
Hello,
I am trying to create a new entry to my keypass db. Used the following commnd
$masterKey = ConvertTo-SecureString -AsPlainText "********" -Force
$psw = ConvertTo-SecureString -AsPlainText "****" -Force
New-KeePassEntry -DatabaseProfileName "vCenter-Admin" -KeePassEntryGroupPath "D:\Script\VC-AdminPasswordReset\KeyPass\vCenter-Admin.kdbx" -Title "VC1" -UserName "Admin1" -KeePassPassword $psw -Notes "VC" -MasterKey $masterKey
I am getting the following error: InvalidKeePassConfiguration : No KeePass Configuration has been created. At C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PoShKeePass\2.1.3.0\PoShKeePass.psm1:207 char:17
- ... throw 'InvalidKeePassConfiguration : No KeePass Configura ...
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : OperationStopped: (InvalidKeePassC...s been created.:String) [], RuntimeException
- FullyQualifiedErrorId : InvalidKeePassConfiguration : No KeePass Configuration has been created.
Not sure if I am missing something. Could you please help me on this?
Thanks and Regards, Dijo Jose.