[x] Search current/closed issues for similar questions, and utilize github/google search to see if an answer exists for the error I'm encountering.
Describe the bug
The Invoke-Expression cmdlet should only be used as a last resort since it has implications such as code injection. In most scenarios, safer and more robust alternatives are available.
BEFORE CREATING THE ISSUE, CHECK THE FOLLOWING GUIDES:
Describe the bug
The Invoke-Expression cmdlet should only be used as a last resort since it has implications such as code injection. In most scenarios, safer and more robust alternatives are available.
SetupTestbed.ps1 and install_lme.ps1 are the two files which should be updated.
Additional info: https://learn.microsoft.com/en-us/powershell/scripting/learn/deep-dives/avoid-using-invoke-expression?view=powershell-7.4 https://learn.microsoft.com/en-us/powershell/utility-modules/psscriptanalyzer/rules/avoidusinginvokeexpression?view=ps-modules
Expected behavior
Same behavior is expected, solution is to simply invoke the command directly.