Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.
Execute this node with the specified arguments. The arguments show up in the script as $args. This overload return the raw (unwrapped) result so it can be more efficient.
public:
System::Object ^ InvokeReturnAsIs(... cli::array <System::Object ^> ^ args);
public object InvokeReturnAsIs(params object[] args);
member this.InvokeReturnAsIs : obj[] -> obj
Public Function InvokeReturnAsIs (ParamArray args As Object()) As Object
The arguments to pass to this scriptblock.
The object(s) generated during the execution of the script block. They may or may not be wrapped in PSObject. It's up to the caller to check.
Thrown if the maximum scope depth has been exceeded
Thrown if a script runtime exceptionexception occurred.
An internal (non-public) exception from a flow control statement.
Product | Versions |
---|---|
PowerShell SDK | 7.2.0, 7.3.0, 7.4.0 |
Windows PowerShell | 5.1.0.0 |
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in