We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa121a0 commit 6b0e29cCopy full SHA for 6b0e29c
articles/devtest-labs/add-artifact-vm.md
@@ -123,7 +123,7 @@ $artifactParameters = @()
123
# Fill the artifact parameter with the additional -param_ data and strip off the -param_
124
$Params | ForEach-Object {
125
if ($_ -match '^-param_(.*)') {
126
- $name = $_.TrimStart('^-param_')
+ $name = $_ -replace '^-param_'
127
} elseif ( $name ) {
128
$artifactParameters += @{ "name" = "$name"; "value" = "$_" }
129
$name = $null #reset name variable
0 commit comments