Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

CIM Cmdlets in Windows PowerShell

Windows Server 2012 R2 and Windows 8.1

Updated: October 17, 2013

Applies To: Windows 8.1, Windows PowerShell 4.0, Windows Server 2012 R2

Windows PowerShell® is a task-based command-line shell and scripting language designed especially for system administration. This reference topic for the information technology (IT) professional provides assistance in utilizing the Windows PowerShell cmdlets to script and automate tasks.

CIM Cmdlets

This reference provides cmdlet descriptions and syntax for all CIM cmdlets. It lists the cmdlets in alphabetical order based on the verb at the beginning of the cmdlet.

 

Cmdlet Description

Get-CimAssociatedInstance

Gets the CIM instances that are connected to a specific CIM instance by an association.

Get-CimClass

Retrieves a list of CIM classes in a specific namespace.

Get-CimInstance

Gets the CIM instances of a class from a CIM server.

Get-CimSession

Gets the CIM session objects from the current session.

Invoke-CimMethod

Invokes a method of a CIM class.

New-CimInstance

Creates a CIM instance.

New-CimSession

Creates a CIM session.

New-CimSessionOption

Specifies advanced options for the New-CimSession cmdlet.

Register-CimIndicationEvent

Subscribes to indications using a filter expression or a query expression.

Remove-CimInstance

Removes a CIM instance from a computer.

Remove-CimSession

Removes one or more CIM sessions.

Set-CimInstance

Modifies a CIM instance on a computer.

noteNote
To list all the cmdlets that are available, use the Get-Command –Module CimCmdlets cmdlet.

For more information about, or for the syntax of, any of the cmdlets, use the Get-Help <cmdlet name> cmdlet, where <cmdlet name> is the name of the cmdlet that you want to research. For more detailed information, you can run any of the following cmdlets:

Get-Help <cmdlet name> -Detailed
Get-Help <cmdlet name> -Examples
Get-Help <cmdlet name> -Full

More Information

For more information about the cmdlets, see the following:

CIM Classes

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.