Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ server.

If the **OperationTimeoutSec** parameter is set to a value less than the robust connection retry
timeout of 3 minutes, network failures that last more than the value of the **OperationTimeoutSec**
parameter aren't recoverable, because the operation on the server times out before the client can
parameter are not recoverable, because the operation on the server times out before the client can
reconnect.

```yaml
Expand Down
6 changes: 3 additions & 3 deletions reference/7.7/CimCmdlets/Get-CimInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -461,11 +461,11 @@ is used to identify a specific type of resource, such as disks or processes, on

A URI consists of a prefix and a path to a resource. For example:

- `http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`
- `http://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`
- `https://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`
- `https://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`

By default, if you do not specify this parameter, the DMTF standard resource URI
`http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.
`https://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.

**ResourceUri** can only be used with CIM sessions created using the WSMan protocol, or when
specifying the **ComputerName** parameter, which creates a CIM session using WSMan. If you specify
Expand Down
8 changes: 4 additions & 4 deletions reference/7.7/CimCmdlets/Invoke-CimMethod.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ parameter when invoking a static method of a class.

You can use the `Get-CimClass` cmdlet to retrieve a class definition from the server.

Using this parameter results in better client side schema validations.
Using this parameter results in better client-side schema validations.

```yaml
Type: Microsoft.Management.Infrastructure.CimClass
Expand Down Expand Up @@ -389,12 +389,12 @@ The URI is used to identify a specific type of resource, such as disks or proces

A URI consists of a prefix and a path to a resource. For example:

`http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`
`https://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`

`http://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`
`https://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`

By default, if you do not specify this parameter, the DMTF standard resource URI
`http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.
`https://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.

**ResourceUri** can only be used with CIM sessions created using the WSMan protocol, or when
specifying the **ComputerName** parameter, which creates a CIM session using WSMan.
Expand Down
4 changes: 2 additions & 2 deletions reference/7.7/CimCmdlets/New-CimInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ $prop = @{
New-CimInstance -ClassName Win32_Environment -Property $prop
```

No client side validation is performed if the class does not exist, the properties are wrong, or if
No client-side validation is performed if the class does not exist, the properties are wrong, or if
the server rejects the call. If the instance is created successfully, the cmdlet outputs the newly
created instance.

Expand Down Expand Up @@ -148,7 +148,7 @@ cmdlet calls the **GetOwner** method on the retrieved instance.

This example gets an instance of a CIM class named **MSFT_Something** in the namespace
**root/somewhere** and stores it in a variable named `$class`. The variable is passed to the
`New-CimInstance` cmdlet to create a new CIM instance and perform client side validations on the new
`New-CimInstance` cmdlet to create a new CIM instance and perform client-side validations on the new
instance.

```powershell
Expand Down
2 changes: 1 addition & 1 deletion reference/7.7/CimCmdlets/New-CimSessionOption.md
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ certificate-based authentication. They can only be mapped to local user accounts
work with domain accounts.

To get a certificate thumbprint, use the `Get-Item` or `Get-ChildItem` cmdlets in the PowerShell
Cert: drive.
`Cert:` drive.

```yaml
Type: System.String
Expand Down
8 changes: 4 additions & 4 deletions reference/7.7/CimCmdlets/Remove-CimInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ If the **InputObject** parameter is not specified, the cmdlet works in one of th
### Example 1: Remove the CIM instance

This example use the **Query** parameter to remove CIM instances from the class named
**Win32_Environment** that start with the character string **testvar** .
**Win32_Environment** that start with the character string **testvar**.

```powershell
Remove-CimInstance -Query 'Select * from Win32_Environment where name LIKE "testvar%"'
Expand Down Expand Up @@ -242,11 +242,11 @@ is used to identify a specific type of resource, such as disks or processes, on

A URI consists of a prefix and a path to a resource. For example:

- `http://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`
- `http://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`
- `https://schemas.microsoft.com/wbem/wsman/1/wmi/root/cimv2/Win32_LogicalDisk`
- `https://intel.com/wbem/wscim/1/amt-schema/1/AMT_GeneralSettings`

By default, if you do not specify this parameter, the DMTF standard resource URI
`http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.
`https://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/` is used and the class name is appended to it.
Comment on lines +245 to +249

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed


**ResourceUri** can only be used with CIM sessions created using the WSMan protocol, or when
specifying the **ComputerName** parameter, which creates a CIM session using WSMan. If you specify
Expand Down
8 changes: 4 additions & 4 deletions reference/7.7/CimCmdlets/Set-CimInstance.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ parameter. You can modify instances matching a Windows Management Instrumentatio
(WQL) query.

```powershell
$instance = @ {
$instance = @{
Query = 'Select * from Win32_Environment where name LIKE "testvar%"'
Property = @{VariableValue="abcd"}
}
Expand Down Expand Up @@ -108,14 +108,14 @@ Set-CimInstance -InputObject $x -Property @{VariableValue="somevalue"} -PassThru
This example retrieves the CIM instance objects filtered by the Query parameter in to a variable
`$x` using `Get-CimInstance`, and then passes the contents of the variable to the `Set-CimInstance`
cmdlet. `Set-CimInstance` then modifies the **VariableValue** property to **somevalue**. Because the
**PassThru** parameter is used, This example returns a modified CIM instance object.
**PassThru** parameter is used, this example returns a modified CIM instance object.

### Example 4: Set the CIM instance property

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

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

```powershell
$instance = @{
Expand Down