Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Get-AutomationVariable for PowerShell 7.2 #99

Open
LuckyLeo2008 opened this issue Mar 26, 2023 · 0 comments
Open

Error in Get-AutomationVariable for PowerShell 7.2 #99

LuckyLeo2008 opened this issue Mar 26, 2023 · 0 comments

Comments

@LuckyLeo2008
Copy link

LuckyLeo2008 commented Mar 26, 2023

I noticed that Get-AutomationVariable in PowerShell 7.1 returns a normal string for a string variable:

  • Value

But in PowerShell 7.2 the returned string contains quotation marks as part of the variable itself:

  • "Value"

I'm not sure if this is due to the implementation of Get-AutomationVariable or something in the new PowerShell version, but it seems like you should not have to strip quotation marks from a string variable prior to using it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant