LanguagePrimitives.GetPSDataCollection(Object) Method

Definition

This method takes a an arbitrary object and wraps it in a PSDataCollection of PSObject. This simplifies interacting with the PowerShell workflow activities.

C++
public:
 static System::Management::Automation::PSDataCollection<System::Management::Automation::PSObject ^> ^ GetPSDataCollection(System::Object ^ inputValue);

Parameters

inputValue
Object

Returns

Applies to

Producto Versiones
PowerShell SDK 7.2.0, 7.3.0, 7.4.0
Windows PowerShell 5.1.0.0