PoShKeePass
PoShKeePass copied to clipboard
Remove-KeePassEntry does not delete properly
Currently running Keepass version 2.49. I have tried different variations of the following.
New-KeePassEntry -KeePassEntryGroupPath 'Database/Group/Subgroup' -Title 'test1' -UserName 'testuser' -Notes 'testnotes' -URL 'http://url.test.com' -DatabaseProfileName 'SampleProfile' -MasterKey 'Password'
$KeePassEntry = Get-KeePassEntry -KeePassEntryGroupPath 'Database/Group/Subgroup' -DatabaseProfileName 'SampleProfile' -MasterKey 'Password' | Where-Object { $_.Title -eq 'test1' }
Remove-KeePassEntry -KeePassEntry $KeePassEntry -DatabaseProfileName 'SampleProfile' -MasterKey 'Password' -Force
Upon running, a duplicate entry will get created in the recycling bin, but the original entry is not deleted.