From 307eaa2a38f8d529154d7e8493541bd696026ddc Mon Sep 17 00:00:00 2001 From: John Gaunt Date: Thu, 25 Nov 2021 12:48:57 -0500 Subject: [PATCH] minor changes and comments --- bitwardenBackup.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bitwardenBackup.ps1 b/bitwardenBackup.ps1 index 6989a46..2bb0c83 100644 --- a/bitwardenBackup.ps1 +++ b/bitwardenBackup.ps1 @@ -6,7 +6,6 @@ param ( # Verbose output if ($verbose) { - $oldverbose = $VerbosePreference $VerbosePreference = "continue" } @@ -42,7 +41,8 @@ if ($($compareObjects | measure).count -gt 0) { } # get the date/time for the back filename -$dateTime = get-date -format ("yyyyMMdd-HHmmss") +$dateTime = Get-Date -format ("yyyyMMdd-HHmmss") +# set the binaries path, do not rely on the path variables as they are not hashed $bw = "$PSScriptRoot\lib\bw.exe" $gpg = "$PSScriptRoot\lib\gpg\bin\gpg.exe" $sdelete = "$PSScriptRoot\lib\sdelete.exe"