Skip to content

Commit f7dc157

Browse files
Merge pull request #418 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/MicrosoftDocs/sccm-docs-powershell-ref (branch main)
2 parents ca5b0fe + f24afd1 commit f7dc157

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

sccm-ps/ConfigurationManager/Set-CMClientSettingSoftwareCenter.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ Accept wildcard characters: False
163163
164164
### -ColorScheme
165165
Use this parameter to configure the Software Center client setting, **Color scheme for Software Center**.
166+
Example color object for: Red=255, Green=74, Blue=74: **$colorObject = [system.drawing.color]::FromArgb(255,255,74,74)**
166167
167168
```yaml
168169
Type: Color
@@ -222,7 +223,7 @@ Accept wildcard characters: False
222223
```
223224
224225
### -DefaultSetting
225-
{{ Fill DefaultSetting Description }}
226+
This parameter will apply settings to the default client setting. Use parameter **-Name** for any custom client setting.
226227
227228
```yaml
228229
Type: SwitchParameter
@@ -282,7 +283,7 @@ Accept wildcard characters: False
282283
```
283284
284285
### -EnableCustomize
285-
{{ Fill EnableCustomize Description }}
286+
This parameter will enable custom Software Center settings. Like the color scheme or a logo.
286287
287288
```yaml
288289
Type: Boolean
@@ -417,7 +418,7 @@ Accept wildcard characters: False
417418
```
418419
419420
### -InputObject
420-
{{ Fill InputObject Description }}
421+
Object of **Get-CMClientSetting**
421422
422423
```yaml
423424
Type: IResultObject
@@ -462,7 +463,7 @@ Accept wildcard characters: False
462463
```
463464

464465
### -Name
465-
{{ Fill Name Description }}
466+
Use this parameter to specify a client setting by its name.
466467

467468
```yaml
468469
Type: String

sccm-ps/ConfigurationManager/Set-CMClientSettingSoftwareInventory.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,13 @@ Set-CMClientSettingSoftwareInventory [-AddCollectFile <Hashtable[]>] [-AddInvent
5252
## EXAMPLES
5353

5454
### Example 1
55+
Activate Software Inventory for "My custom setting" and set a recurring schedule for every first Sunday of every month.
56+
Also, add **.exe** as inventory file type with the default inventory settings.
5557
```
56-
PS XYZ:\>
58+
PS XYZ:\>$inventoryFileTypeTable = @{FileName="*.exe";ExcludeWindirAndSubfolders=$True;ExcludeEncryptedAndCompressedFiles=$True;Subdirectories=$True;Path='All client hard disks'}
59+
PS XYZ:\>$schedule = New-CMSchedule -Start '2022-01-01 04:00' -DayOfWeek Sunday -WeekOrder First
60+
PS XYZ:\>Set-CMClientSettingSoftwareInventory -Name 'My custom setting' -Enable $true -Schedule $schedule -AddInventoryFileType $inventoryFileTypeTable
61+
5762
```
5863

5964
## PARAMETERS

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)