Skip to content

Commit a615f37

Browse files
authored
Merge pull request #11519 from MicrosoftDocs/main
11/6/2024 PM Publish
2 parents dd7e6c2 + 228be72 commit a615f37

File tree

72 files changed

+778
-237
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+778
-237
lines changed

.markdownlint.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,8 @@ MD054: # link-image-style
122122
inline: true
123123
shortcut: false
124124
url_inline: true
125-
MD055: leading_and_trailing # table-pipe-style
125+
MD055: # table-pipe-style
126+
style: leading_and_trailing
126127
MD056: true # table-column-count
127128
# MD057 # undefined
128129
MD058: true # blanks-around-tables

.vscode/cspell/psdocs/dictionaries/psdocs.txt

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ autogenerated
1212
autogenerates
1313
autoload
1414
autoloaded
15+
autoloading
1516
autoloads
1617
autosave
1718
autosaved
@@ -36,13 +37,15 @@ callstack
3637
carmonm
3738
ccontains
3839
CentOS
40+
Certmgr
3941
cheatsheet
4042
cheatsheets
4143
checkboxes
4244
cimv2
4345
clike
4446
cmatch
4547
cmdlet
48+
cmdletbinding
4649
cmdlets
4750
cnotcontains
4851
cnotlike
@@ -57,10 +60,12 @@ coreclr
5760
CoreOS
5861
CredSSP
5962
creplace
63+
cscript
6064
customizations
6165
DACL
6266
datacenter
6367
datacenters
68+
DCOM
6469
Debian
6570
deserialization
6671
deserialize
@@ -94,6 +99,7 @@ frontmatter
9499
glob
95100
globbing
96101
globs
102+
gpedit
97103
GUID
98104
hardlink
99105
hashtable
@@ -147,14 +153,17 @@ notmatch
147153
nslookup
148154
NTFS
149155
NTLM
156+
ntoskrnl
150157
nuget
151158
nupkg
152159
onboarding
153160
openpublishing
154161
openSUSE
155162
pageable
156163
parameterless
164+
PassThru
157165
PATHEXT
166+
pbpaste
158167
pltfrm
159168
POSIX
160169
PowerShell
@@ -168,6 +177,7 @@ prerelease
168177
prereleases
169178
psadapted
170179
psbase
180+
pscredential
171181
pscustomobject
172182
PSES
173183
psextended
@@ -196,6 +206,7 @@ remoting
196206
reparse
197207
RHEL
198208
RIPEMD160
209+
robocopy
199210
runbook
200211
runbooks
201212
runspace
@@ -226,14 +237,14 @@ Snover
226237
SPACEBAR
227238
Sqlcmd
228239
SQLPS
240+
SQLSERVER
229241
stepover
230242
struct
231243
subcontainer
232244
subcontainers
233245
subexpression
234246
subexpressions
235247
subfolder
236-
subfolder
237248
subfolders
238249
subkey
239250
subkeys
@@ -250,6 +261,7 @@ taskbar
250261
timespan
251262
Titlecase
252263
TMPDIR
264+
Traceroute
253265
triaged
254266
Ubuntu
255267
UMCI
@@ -272,6 +284,7 @@ unregistering
272284
unregisters
273285
untrusted
274286
updateable
287+
UPDATECHECK
275288
USERMODE
276289
USERROLE
277290
userspace
@@ -285,4 +298,6 @@ WinCompat
285298
wmicimv2
286299
workgroup
287300
workgroups
301+
wscript
288302
wwwroot
303+
xclip

reference/5.1/CimCmdlets/Set-CimInstance.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,14 +100,14 @@ Set-CimInstance -InputObject $x -Property @{VariableValue="somevalue"} -PassThru
100100
This example retrieves the CIM instance objects filtered by the Query parameter in to a variable
101101
`$x` using `Get-CimInstance`, and then passes the contents of the variable to the `Set-CimInstance`
102102
cmdlet. `Set-CimInstance` then modifies the **VariableValue** property to **somevalue**. Because the
103-
**Passthru** parameter is used, This example returns a modified CIM instance object.
103+
**PassThru** parameter is used, This example returns a modified CIM instance object.
104104

105105
### Example 4: Set the CIM instance property
106106

107107
This example retrieves the CIM instance object that is specified in the **Query** parameter into a
108108
variable `$x` using the `Get-CimInstance` cmdlet, and changes the **VariableValue** property value
109109
of the object to change. The CIM instance object is then saved using the `Set-CimInstance` cmdlet.
110-
Because the **Passthru** parameter is used, This example returns a modified CIM instance object.
110+
Because the **PassThru** parameter is used, This example returns a modified CIM instance object.
111111

112112
```powershell
113113
$x = Get-CimInstance -Query 'Select * from Win32_Environment where name="testvar"'
@@ -138,7 +138,7 @@ Set-CimInstance -Query 'Select * from Win32_Environment where name LIKE "testvar
138138
This example creates a CIM instance with the specified properties using the `New-CimInstance`
139139
cmdlet, and retrieves its contents in to a variable `$x`. The variable is then passed to the
140140
`Set-CimInstance` cmdlet, which modifies the value of **VariableValue** property to **somevalue**.
141-
Because the **Passthru** parameter is used, This example returns a modified CIM instance object.
141+
Because the **PassThru** parameter is used, This example returns a modified CIM instance object.
142142

143143
```powershell
144144
$x = New-CimInstance -ClassName Win32_Environment -Property @{Name="testvar";UserName="domain\user"} -Key Name,UserName -ClientOnly
@@ -409,7 +409,7 @@ By default, this cmdlet returns no output.
409409
410410
### Microsoft.Management.Infrastructure.CimInstance
411411
412-
When you use the **Passthru** parameter, this cmdlet returns the modified CIM instance object.
412+
When you use the **PassThru** parameter, this cmdlet returns the modified CIM instance object.
413413
414414
## NOTES
415415

0 commit comments

Comments
 (0)