Contact Info

Crumbtrail

ActiveXperts.com » Administration » Powershell » Powershell 3.0 » New-CimInstance

New-CimInstance - Powershell 3.0 CmdLet

ActiveXperts Network Monitor ships with integrated Powershell scripts to monitor complex network. The scripts run out of the box
Download the ActiveXperts Network Monitor FREE version now »

New-CimInstance

Short description
Creates a CIM instance.

Syntax
New-CimInstance [-ClassName] <String> [[-Property] <IDictionary>] [-ClientOnly] [-ComputerName <String[]>] [-Key <Strin
g[]>] [-Namespace <String>] [-OperationTimeoutSec <UInt32>] [-Confirm] [-WhatIf] [<CommonParameters>]
New-CimInstance [-CimClass] <CimClass> [[-Property] <IDictionary>] [-ClientOnly] [-ComputerName <String[]>] [-Operation
TimeoutSec <UInt32>] [-Confirm] [-WhatIf] [<CommonParameters>]
New-CimInstance [-CimClass] <CimClass> [[-Property] <IDictionary>] [-ClientOnly] [-OperationTimeoutSec <UInt32>] -CimSe
ssion <CimSession[]> [-Confirm] [-WhatIf] [<CommonParameters>]
New-CimInstance [-ClassName] <String> [[-Property] <IDictionary>] [-ClientOnly] [-Key <String[]>] [-Namespace <String>]
 [-OperationTimeoutSec <UInt32>] -CimSession <CimSession[]> [-Confirm] [-WhatIf] [<CommonParameters>]
New-CimInstance [[-Property] <IDictionary>] [-Key <String[]>] [-Namespace <String>] [-OperationTimeoutSec <UInt32>] -Ci
mSession <CimSession[]> -ResourceUri <Uri> [-Confirm] [-WhatIf] [<CommonParameters>]
New-CimInstance [[-Property] <IDictionary>] [-ComputerName <String[]>] [-Key <String[]>] [-Namespace <String>] [-Operat
ionTimeoutSec <UInt32>] -ResourceUri <Uri> [-Confirm] [-WhatIf] [<CommonParameters>]





Description
The New-CimInstance cmdlet creates an instance of a CIM class based on the class definition on either the local compute
r or a remote computer.


Use the Property parameter to set the initial values of the selected properties.


By default, the New-CimInstance cmdlet creates an instance on the local computer.