Closed rphadke-trinity closed 2 weeks ago
upvote, would love to get azure automation commands here
Hi. You're using Pester v3 which is no longer supported. Please upgrade to the latest version as required in the checklist at the beginning of the issue text, see link for help.
Still, there's nothing in the issue pointing to Pester being the root cause. Stacktrace doesn't match the provided code and error is likely related to something external. The testing script is also executing the script twice and testing an undefined path variable.
Closing as likely spam. If not, please update the issue with a valid sample and error and let me now in a comment.
Checklist
What is the issue?
Script is erroring on two root causes:
Get-AutomationVariable
$storageAccountCred = Get-AutomationPSCredential
Expected Behavior
Steps To Reproduce
Powershell script
Testing Script
Describe your environment
Pester version : 3.4.0 C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0\Pester.psm1
PowerShell version : 7.4.2 OS version : Microsoft Windows NT 10.0.22631.0
Possible Solution?
No response