SessionStateProxy.InvokeCommand Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Get the APIs to build script blocks and execute script out of session state.
public:
virtual property System::Management::Automation::CommandInvocationIntrinsics ^ InvokeCommand { System::Management::Automation::CommandInvocationIntrinsics ^ get(); };
public virtual System.Management.Automation.CommandInvocationIntrinsics InvokeCommand { get; }
member this.InvokeCommand : System.Management.Automation.CommandInvocationIntrinsics
Public Overridable ReadOnly Property InvokeCommand As CommandInvocationIntrinsics
Property Value
Exceptions
Runspace is not open.
Another SessionStateProxy call or another pipeline is in progress.