Export (0) Print
Expand All

GetCommandCommand.Syntax Property

Gets and sets the value of the Syntax parameter of the Get-Command cmdlet.

Namespace: Microsoft.PowerShell.Commands
Assembly: System.Management.Automation (in System.Management.Automation.dll)

Dim instance As GetCommandCommand
Dim value As SwitchParameter

value = instance.Syntax

instance.Syntax = value

public SwitchParameter Syntax { get; set; }
/** @property */
public SwitchParameter get_Syntax ()

/** @property */
public void set_Syntax (SwitchParameter value)

public function get Syntax () : SwitchParameter

public function set Syntax (value : SwitchParameter)

Property Value

When the parameter is specified, only limited information is retrieved.

This topic is included in this SDK for completeness only. For more information about this cmdlet, see Get-Command in the Microsoft TechNet Library.

For Help at the command line, type:

get-help get-command

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


Target Platforms

© 2015 Microsoft