Export (0) Print
Expand All

InvokeCommandCommand Class

The Invoke-Command cmdlet class that is implemented by Windows PowerShell. This class is included in this SDK for completeness only. The members of this class cannot be used directly, nor should this class be used to derive other classes.This class is introduced in Windows PowerShell 2.0.


Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

'Usage
Dim instance As InvokeCommandCommand

[CmdletAttribute("Invoke", "Command", DefaultParameterSetName="InProcess", HelpUri="http://go.microsoft.com/fwlink/?LinkID=135225", RemotingCapability=RemotingCapability.OwnedByCommand)] 
public class InvokeCommandCommand : PSExecutionCmdlet, IDisposable
/** @attribute CmdletAttribute("Invoke", "Command", DefaultParameterSetName="InProcess", HelpUri="http://go.microsoft.com/fwlink/?LinkID=135225", RemotingCapability=RemotingCapability.OwnedByCommand) */ 
public class InvokeCommandCommand extends PSExecutionCmdlet implements IDisposable
CmdletAttribute("Invoke", "Command", DefaultParameterSetName="InProcess", HelpUri="http://go.microsoft.com/fwlink/?LinkID=135225", RemotingCapability=RemotingCapability.OwnedByCommand) 
public class InvokeCommandCommand extends PSExecutionCmdlet implements IDisposable

This cmdlet runs commands on local and remote computers. For more information about this cmdlet, see Invoke-Command in the Microsoft TechNet library.

For Help at the command line, type:

get-help invoke-command


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

 

Target Platforms


Show:
© 2015 Microsoft