Ironman Software Forums
Scoped Variable with Hyphen in its Name
PowerShell
adam
March 16, 2023, 2:17pm
2
You can use this syntax for hyphenated variable names.
${Secret:Test-Variable}
2 Likes
Get-Variable with Secret variables in PSU 3
Secrets with "-" in the name
show post in topic
Related topics
Topic
Replies
Views
Activity
Secrets with "-" in the name
PowerShell Universal
2
74
July 17, 2024
Get-Variable with Secret variables in PSU 3
PowerShell Universal
4
700
March 17, 2023
Get-UAVariable Secret just returning name of variable and not the value of the string
PowerShell Universal
5
679
August 11, 2021
Clarification needed on variable references within scripts
PowerShell Universal
5
127
April 3, 2024
How to reference secret variables in scripts?
PowerShell Universal
6
1918
March 16, 2021