InvokeWmiMethod Members

Wraps the Invoke-WmiMethod cmdlet. Introduced in Windows PowerShell 3.0.

The following tables list the members exposed by the InvokeWmiMethod type.

  Name Description
  InvokeWmiMethod Initializes a new instance of the InvokeWmiMethod class. Introduced in Windows PowerShell 3.0.
Top

(see also Protected Properties)
 NameDescription
public propertyAppendOutput  Determines whether to append output to the stream specified by the Result property. Introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyArgumentListThe collection of arguments to use when calling the method. Introduced in Windows PowerShell 3.0.
public propertyAuthority  Specifies the authentication package to use to authenticate the WMI connection. You can specify standard NTLM or Kerberos authentication. To use NTLM, set the authority setting to ntlmdomain:DomainName, where DomainNameidentifies a valid NTLM domain name.To use Kerberos, specify kerberosDomainName>\ServerName. You cannot include the authority setting when you connect to the local computer. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyClassThe name of the WMI class to use for static methods. Introduced in Windows PowerShell 3.0.
public propertyDebug  Gets or sets a value that indicates whether to emit the debug output of the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyDisplayName  (Inherited from Activity)
public propertyEnableAllPrivileges  Enables all the privileges of the current user before the command makes the WMI call. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyErrorAction  Gets or sets how errors are handled by the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyId  (Inherited from Activity)
public propertyImpersonation  Specifies the impersonation level to use. Valid values are: 0: Default (reads the local registry for the default impersonation level , which is usually set to "3: Impersonate".) 1: Anonymous (Hides the credentials of the caller.) 2: Identify (Allows objects to query the credentials of the caller.) 3: Impersonate (Allows objects to use the credentials of the caller.) 4: Delegate (Allows objects to permit other objects to use the credentials of the caller.) Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyInput  The input stream for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyLocale  Specifies the preferred locale for WMI objects. Specify the value of the Locale parameter as an array in the MS_"LCID" format in the preferred order Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyMergeErrorToOutput  Gets or sets a value that indicates whether to merge error data to the output stream. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyNameThe name of the instance or static method to call. Introduced in Windows PowerShell 3.0.
public propertyNamespace  When used with the Class parameter, this parameter specifies the WMI repository namespace where the referenced WMI class is located. When used with the List parameter, it specifies the namespace from which to gather WMI class information. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyPathA WMI path specification that must be in the form "Win32_Printer.DeviceID='TestPrinter'". This will select instances of objects from which to call the method. Introduced in Windows PowerShell 3.0.
public propertyPSActionRetryCount  Gets or sets the number of times the activity retries execution of an action after encountering an execution error. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSActionRetryIntervalSec  Gets or sets the number of seconds to wait before retrying the action. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSActionRunningTimeoutSec  Gets or sets the number of seconds to wait before the action times out. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSAuthenticationLevel  Specifies the authentication level to be used with the WMI connection. Valid values are: -1: Unchanged 0: Default 1: None (No authentication in performed.) 2: Connect (Authentication is performed only when the client establishes a relationship with the application.) 3: Call (Authentication is performed only at the beginning of each call when the application receives the request.) 4: Packet (Authentication is performed on all the data that is received from the client.) 5: PacketIntegrity (All the data that is transferred between the client and the application is authenticated and verified.) 6: PacketPrivacy (The properties of the other authentication levels are used, and all the data is encrypted.) Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyPSCommandName  Gets the fully qualified name of the command invoked by this activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSComputerName  The name of the computer where the activity runs. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyPSCredential  The credentials used to authenticate the host. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
public propertyPSDebug  Gets or sets the debug stream (or collection of streams) for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSDisableSerialization  Gets or sets a value that indicates whether to disable serialization for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSError  Gets or sets the error stream (or collection of streams) for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSPersist  Gets or sets a value that indicates whether to force the activity to persist the workflow state onto the disk. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSProgress  Gets or sets the progress stream (or collection of streams) for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSProgressMessage  Gets or sets the message in the progress stream. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSRequiredModules  Gets or sets the list of module names or paths that are required to run this activity successfully. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSVerbose  Gets or sets the verbose stream (or collection of streams) for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyPSWarning  Gets or sets the warning stream (or collection of streams) for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyResult  The output stream from the activity. Introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyUseDefaultInput  Specifies whether to connect the input stream for this activity. Introduced in Windows PowerShell 3.0. (Inherited from PipelineEnabledActivity)
public propertyVerbose  Gets or sets a value that indicates whether to emit verbose output of the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
public propertyWarningAction  Gets or sets how warnings are handled by the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Top

  Name Description
protected property CanInduceIdle  Overridden. Gets a value that indicates whether the activity can be idle. Introduced in Windows PowerShell 3.0. (Inherited from NativeActivity)
protected property Constraints  (Inherited from Activity)
protected property DefiningModule  Gets the name of the module that an activity needs to load before it can execute. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected property Implementation  Overridden. (Inherited from Activity)
protected property ParameterDefaults  Gets or sets the parameter defaults. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected property PSDefiningModule  Gets the module that defines the command called by this activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected property Tracer  Gets access to Windows PowerShell tracing channels. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected property UpdatePreferenceVariable  Gets a value that indicates whether preference variables are updated. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Top

(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodGetHashCode  (Inherited from Object)
public methodGetType  (Inherited from Object)
public methodShouldSerializeDisplayName  (Inherited from Activity)
public methodToString  Overridden. (Inherited from Object)
Top

(see also Extension Methods)
 NameDescription
protected methodAbort  (Inherited from NativeActivity)
protected methodActivityEndPersistence  When overridden in a derived class, ends the persistence of the Windows PowerShell activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodCacheMetadata  Overridden. Retrieves the stream and ubiquitous parameter information from the hosting application. Introduced in Windows PowerShell 3.0. (Inherited from NativeActivity)
protected methodCacheMetadata  Overridden. (Inherited from Activity)
protected methodCancel  Overridden. Cancels the running activity. Introduced in Windows PowerShell 3.0. (Inherited from NativeActivity)
protected methodExecute  Overridden. Begins the execution of the activity. Introduced in Windows PowerShell 3.0. (Inherited from NativeActivity)
protected methodFinalize  (Inherited from Object)
protected methodGetActivityArguments  Retrieves the list of arguments for the activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodGetImplementation  Overridden. Perform necessary steps to prepare the WMI commands Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodGetPowerShell  When overridden in a derived class, retrieves a configured instance of PowerShell. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodGetRunInProc  Determines whether this activity should be run in or out of process when run locally. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodGetUbiquitousParameter  Generic version of the function to handle value types Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
protected methodGetWmiCommandCore  Executes the specified command. Introduced in Windows PowerShell 3.0. (Inherited from WmiActivity)
protected methodMemberwiseClone  (Inherited from Object)
protected methodOnCreateDynamicUpdateMap  (Inherited from NativeActivity)
protected methodOnCreateDynamicUpdateMap  Overridden. (Inherited from Activity)
protected methodPrepareSession  When overridden in a derived class, customizes the runspace of a PowerShell instance that the runtime has prepared for it. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
protected methodUpdateInstance  (Inherited from NativeActivity)
protected methodWriteProgressRecord  Writes a progress record for the current activity. Introduced in Windows PowerShell 3.0. (Inherited from PSActivity)
Top

  Name Description
public extension method As  Use this method to adapt an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  This is called to adapt an object from a foreign app domain to a known interface in this appDomainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method As  Adapts an object from a foreign app domain to a known interface in this app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Use this method to adapt and extend an object so that you can pass it to a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  This is called to adapt and extend an object that we wish to pass to a foreign app domainThis element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method Extend  Used to extend an object with an interface from a foreign app domain.This element is introduced in Windows PowerShell 5.0. (Defined by RequestExtensions.)
public extension method ToEnumerable  This element is introduced in Windows PowerShell 5.0. (Defined by CollectionExtensions.)
Top


Show: