diff --git a/backupBitwarden.ps1 b/backupBitwarden.ps1 index 9129126..ac6b66b 100644 --- a/backupBitwarden.ps1 +++ b/backupBitwarden.ps1 @@ -17,4 +17,10 @@ if ($sessionKey -eq $null) { bw export $password --output "C:\users\jgaunt\3D Objects\Bitwarden User $username Export $dateTime.csv" --format csv --session $sessionKey bw export $password --output "C:\users\jgaunt\3D Objects\Bitwarden User $username Export $dateTime.json" --format json --session $sessionKey -$organizations = $(convertfrom-json $(bw list organizations)) \ No newline at end of file +$organizations = $(convertfrom-json $(bw list organizations)) + +# I shouldn't need portwarden anymore since I will just use bw and loop through the items with attachments + +# (convertfrom-json $(bw list items)) | where attachments +# foreach { } +# bw get attachment $attachmentID --itemid $itemID --output $file \ No newline at end of file