PowerShell.Connect Method
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.
Synchronously connects to a running command on a remote server.
public:
System::Collections::ObjectModel::Collection<System::Management::Automation::PSObject ^> ^ Connect();
public System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject> Connect ();
member this.Connect : unit -> System.Collections.ObjectModel.Collection<System.Management.Automation.PSObject>
Public Function Connect () As Collection(Of PSObject)
Returns
Command output as a PSDataCollection.