diff --git a/backupBitwarden.ps1 b/backupBitwarden.ps1 index ac6b66b..0f01567 100644 --- a/backupBitwarden.ps1 +++ b/backupBitwarden.ps1 @@ -22,5 +22,5 @@ $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 { } +# $itemsWithAttachments | % { $folder=$_.name; $itemID=$_.id; $_.attachments | % { bw get attachment $_.id --itemid $itemID --output "C:\Users\jgaunt\3D Objects\Bitwarden\$folder\$_.fileName" } } # bw get attachment $attachmentID --itemid $itemID --output $file \ No newline at end of file