RemotePort Parameter (Connect-SFTP Cmdlet)
The port the SFTP server is running on.
Syntax
Connect-SFTP -RemotePort string
Data Type
cstr
Default Value
""
Remarks
The port the SFTP server is running on. Together with RemoteHost, this property is used to specify the SFTP server.