-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Whenever using a $using:
statement without lower case variable the function will fail stating:
InvalidOperation: A Using variable cannot be retrieved. A Using variable can be used only with Invoke-Command, Start-Job, or InlineScript in the script workflow. When it is used with Invoke-Command, the Using variable is valid only if the script block is invoked on a remote computer.
Passing arguments via the stop-parsing token ( --%
) requires that all Keys are lower case.
Changing Line #157 from:
$key = [Convert]::ToBase64String([Encoding]::Unicode.GetBytes($varText))
To:
$key = [Convert]::ToBase64String([Encoding]::Unicode.GetBytes($varText.ToLower()))
Should fix this issue.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working