From d00690214214cb49cd3fae6ab66c2a6503203d4e Mon Sep 17 00:00:00 2001 From: Thomas Parkison Date: Tue, 2 Jul 2024 18:09:11 -0400 Subject: [PATCH] Fixed naming of the forcelogout switch. Updated the script to version 1.43. --- Export-Bitwarden.psm1 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Export-Bitwarden.psm1 b/Export-Bitwarden.psm1 index dec43bd..b72ef0d 100644 --- a/Export-Bitwarden.psm1 +++ b/Export-Bitwarden.psm1 @@ -15,7 +15,7 @@ function Export-Bitwarden { # Don't touch this line! param ( [switch]$forcebwcliupdate, - [switch]$forcelogpout + [switch]$forcelogout ) # This tells the script if it should automatically check for an update of the Bitwarden CLI executable that's actually responsible for backing up your Bitwarden vault. @@ -32,7 +32,7 @@ function Export-Bitwarden { # Don't touch this line! # == WARNING!!! DO NOT TOUCH ANYTHING BELOW THIS!!! == # ==================================================== - $ver = "1.42" + $ver = "1.43" Write-Host -ForegroundColor Green "========================================================================================" Write-Host -ForegroundColor Green "== Bitwarden Vault Export Script v$ver ==" @@ -195,7 +195,7 @@ function Export-Bitwarden { # Don't touch this line! Write-Host "" } - if ($forcelogpout) { + if ($forcelogout) { LockAndLogout Write-Host "Exiting script." $env:BW_SESSION = ""