fixed typo
This commit is contained in:
@@ -35,7 +35,7 @@ $organizations | foreach {
|
||||
}
|
||||
|
||||
Write-Host "Looking for items with attachments..."
|
||||
$itemsWithAttachments = $((ConverFro-Json $(bw list items --session $sessionKey)) | Where-Object attachments)
|
||||
$itemsWithAttachments = $((ConverFrom-Json $(bw list items --session $sessionKey)) | Where-Object attachments)
|
||||
Write-Host "Found $(($itemsWithAttachments | measure).count) items with attachments."
|
||||
Write-Host "Downloading attachments..."
|
||||
$itemsWithAttachments | foreach {
|
||||
@@ -49,4 +49,5 @@ $itemsWithAttachments | foreach {
|
||||
}
|
||||
}
|
||||
|
||||
Remove-Variable -Name * -ErrorAction SilentlyContinue
|
||||
Remove-Variable -Name * -ErrorAction SilentlyContinue
|
||||
pause
|
||||
Reference in New Issue
Block a user