Share via


NewWSManInstanceCommand.Port Property

Definition

The following is the definition of the input parameter "Port". Specifies the port to be used when connecting to the ws management service.

[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.ValidateRange(1, 2147483647)]
public int Port { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="ComputerName")>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.ValidateRange(1, 2147483647)>]
member this.Port : int with get, set
Public Property Port As Integer

Property Value

Attributes

Applies to