Dela via


Microsoft.Management.Infrastructure.CimCmdlets Namespace

Classes

BinaryMiLogBase
CimBaseCommand

Base command for all cim cmdlets.

CimCmdletsAssemblyInitializer
CimIndicationEventArgs

Abstract Cimindication event args, which containing all elements related to an Cimindication.

CimIndicationEventExceptionEventArgs

Cimindication exception event args, which containing occurred exception.

CimIndicationEventInstanceEventArgs

Cimindication event args, which containing all elements related to an Cimindication.

CimIndicationWatcher

A public class used to start/stop the subscription to specific indication source, and listen to the incoming indications, event CimIndicationArrived will be raised for each cimindication.

ExportBinaryMiLogCommand
GetCimAssociatedInstanceCommand

The Cmdlet retrieves instances connected to the given instance, which is called the source instance, via a given association. In an association each instance has a named role, and the same instance can participate in an association in different roles. Hence, the Cmdlet takes SourceRole and AssociatorRole parameters in addition to the Association parameter.

GetCimClassCommand

Enables the user to enumerate the list of CIM Classes under a specific Namespace. If no list of classes is given, the Cmdlet returns all classes in the given namespace.

NOTES: The class instance contains the Namespace properties Should the class remember what Session it came from? No.

GetCimInstanceCommand

Returns zero, one or more CIM (dynamic) instances with the properties specified in the Property parameter, KeysOnly parameter or the Select clause of the Query parameter.

GetCimSessionCommand

The command returns zero, one or more CimSession objects that represent connections with remote computers established from the current PS Session.

ImportBinaryMiLogCommand
InvokeCimMethodCommand

This cmdlet enables the user to invoke a static method on a CIM class using the arguments passed as a list of name value pair dictionary.

NewCimInstanceCommand

This Cmdlet creates an instance of a CIM class based on the class definition, which is an instance factory

If -ClientOnly is not specified, New-CimInstance will create a new instance on the server, otherwise just create client in-memory instance

NewCimSessionCommand

This Cmdlet enables the IT Pro to create a CIM Session. CIM Session object is a client-side representation of the connection between the client and the server. The CimSession object returned by the Cmdlet is used by all other CIM cmdlets.

NewCimSessionOptionCommand

The Cmdlet allows the IT Pro to create a CimSessionOptions object that she/he can subsequently use to create one or more CimSession connections. The options object holds the CIM Session information that is less commonly set and used by the IT Pro, and most commonly defaulted.

The Cmdlet has two parameter sets, one for WMMan options and one for DCOM options. Depending on the arguments the Cmdlet will return an instance of DComSessionOptions or WSManSessionOptions, which derive from CimSessionOptions.

RegisterCimIndicationCommand

Enables the user to subscribe to indications using Filter Expression or Query Expression. -SourceIdentifier is a name given to the subscription The Cmdlet should return a PS EventSubscription object that can be used to cancel the subscription Should we have the second parameter set with a -Query?

RemoveCimInstanceCommand

Enables the user to remove a CimInstance.

RemoveCimSessionCommand

This Cmdlet allows the to remove, or terminate, one or more CimSession(s).

SetCimInstanceCommand

Enables the user to Set properties and keys on a specific Microsoft.Management.Infrastructure.CimCmdlets.SetCimInstanceCommand.CimInstance CimInstance must have values of all [KEY] properties.

Enums

AsyncResultType

Async result type

ProtocolType

Define Protocol type.