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
85
July 17, 2024
Get-Variable with Secret variables in PSU 3
PowerShell Universal
4
726
March 17, 2023
Clarification needed on variable references within scripts
PowerShell Universal
5
136
April 3, 2024
Get-UAVariable Secret just returning name of variable and not the value of the string
PowerShell Universal
5
716
August 11, 2021
Unable to reference Secret Variable
PowerShell Universal
4
700
September 22, 2021