From 40aa7cf7a87968be26f26382b7f87a7bcfae273d Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Sat, 22 Aug 2026 21:19:07 +0200 Subject: [PATCH 1/2] spaces, style and grammar --- reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md | 2 +- reference/7.7/CimCmdlets/Invoke-CimMethod.md | 2 +- reference/7.7/CimCmdlets/New-CimInstance.md | 4 ++-- reference/7.7/CimCmdlets/New-CimSessionOption.md | 2 +- reference/7.7/CimCmdlets/Remove-CimInstance.md | 8 ++++---- reference/7.7/CimCmdlets/Set-CimInstance.md | 8 ++++---- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md b/reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md index be0e494461a3..354b378bb15a 100644 --- a/reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md +++ b/reference/7.7/CimCmdlets/Get-CimAssociatedInstance.md @@ -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 diff --git a/reference/7.7/CimCmdlets/Invoke-CimMethod.md b/reference/7.7/CimCmdlets/Invoke-CimMethod.md index 0cd93b3b7224..d6782c2dd706 100644 --- a/reference/7.7/CimCmdlets/Invoke-CimMethod.md +++ b/reference/7.7/CimCmdlets/Invoke-CimMethod.md @@ -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 diff --git a/reference/7.7/CimCmdlets/New-CimInstance.md b/reference/7.7/CimCmdlets/New-CimInstance.md index 3d102c67e598..dadd9c00936f 100644 --- a/reference/7.7/CimCmdlets/New-CimInstance.md +++ b/reference/7.7/CimCmdlets/New-CimInstance.md @@ -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. @@ -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 diff --git a/reference/7.7/CimCmdlets/New-CimSessionOption.md b/reference/7.7/CimCmdlets/New-CimSessionOption.md index 86614d004d50..05e874a63351 100644 --- a/reference/7.7/CimCmdlets/New-CimSessionOption.md +++ b/reference/7.7/CimCmdlets/New-CimSessionOption.md @@ -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 diff --git a/reference/7.7/CimCmdlets/Remove-CimInstance.md b/reference/7.7/CimCmdlets/Remove-CimInstance.md index a44c5a05d2ac..02d8aea1fa53 100644 --- a/reference/7.7/CimCmdlets/Remove-CimInstance.md +++ b/reference/7.7/CimCmdlets/Remove-CimInstance.md @@ -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%"' @@ -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. **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 diff --git a/reference/7.7/CimCmdlets/Set-CimInstance.md b/reference/7.7/CimCmdlets/Set-CimInstance.md index b901028777ee..42dfa66be523 100644 --- a/reference/7.7/CimCmdlets/Set-CimInstance.md +++ b/reference/7.7/CimCmdlets/Set-CimInstance.md @@ -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"} } @@ -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"' @@ -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 = @{ From 883c70b7f8d4156f7ce22ff968a8f2e740ffd8ee Mon Sep 17 00:00:00 2001 From: Arie Heinrich Date: Sat, 22 Aug 2026 21:29:27 +0200 Subject: [PATCH 2/2] style --- reference/7.7/CimCmdlets/Get-CimInstance.md | 6 +++--- reference/7.7/CimCmdlets/Invoke-CimMethod.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/7.7/CimCmdlets/Get-CimInstance.md b/reference/7.7/CimCmdlets/Get-CimInstance.md index 7181bb361633..64419db8dc90 100644 --- a/reference/7.7/CimCmdlets/Get-CimInstance.md +++ b/reference/7.7/CimCmdlets/Get-CimInstance.md @@ -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 diff --git a/reference/7.7/CimCmdlets/Invoke-CimMethod.md b/reference/7.7/CimCmdlets/Invoke-CimMethod.md index d6782c2dd706..cee5ca53b485 100644 --- a/reference/7.7/CimCmdlets/Invoke-CimMethod.md +++ b/reference/7.7/CimCmdlets/Invoke-CimMethod.md @@ -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.