moved the $bw logout above the remove-variable so it works now. Created new signature
This commit is contained in:
@@ -145,8 +145,7 @@ if ($zip -or $encrypt) {
|
|||||||
& $sdelete -p 25 "$PSScriptRoot\$zipFilename"
|
& $sdelete -p 25 "$PSScriptRoot\$zipFilename"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
# remove all the variables
|
|
||||||
Remove-Variable -Name * -ErrorAction SilentlyContinue
|
|
||||||
# logout of bitwaren to ensure the session is destroyed
|
# logout of bitwaren to ensure the session is destroyed
|
||||||
& $bw logout
|
& $bw logout
|
||||||
exit 0
|
# remove all the variables
|
||||||
|
Remove-Variable -Name * -ErrorAction SilentlyContinue
|
||||||
Binary file not shown.
Reference in New Issue
Block a user