minor changes and comments
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user