Skip to content

Commit cf40717

Browse files
authored
Merge pull request #270 from dunck/patch-1
Fix Set-CMTSStepSetDynamicVariable
2 parents 939471b + e400dfe commit cf40717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sccm-ps/ConfigurationManager/Set-CMTSStepSetDynamicVariable.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ $ts = Get-CMTaskSequence -Name "Default IPU"
243243
$tscondition = New-CMTSStepConditionVariable -ConditionVariableName "_SMSTSInWinPE" -ConditionVariableValue "false" -OperatorType Equals
244244
245245
$tsrule1 = New-CMTSRule -DefaultGateway "192.168.10.1" -Variable @{'OSDRegisteredUserName' = 'Contoso';'OSDRegisteredOrgName' = 'Contoso'}
246-
$tsrule2 = New CMTSRule -Make "Surface" -Model "*" -Variable @{'custTattoo1' = 'AllSurface'}
246+
$tsrule2 = New-CMTSRule -Make "Surface" -Model "*" -Variable @{'custTattoo1' = 'AllSurface'}
247247
248248
$ts | Set-CMTaskSequenceStepSetDynamicVariable -ClearCondition -AddCondition $tscondition -CleanRule -AddRule ($tsrule1,$tsrule2)
249249
```

0 commit comments

Comments
 (0)