Command.ToString Method ()


Updated: April 27, 2016

Applies To: Windows PowerShell

Generates a string representation of the current Command object.

Namespace:   System.Management.Automation.Runspaces
Assembly:  System.Management.Automation (in System.Management.Automation.dll)

public override string ToString()

Return Value

Type: System.String

A String object that contains the string representation of the Command object.

Return to top

Community Additions