RemoteHost Parameter (Connect-SFTP Cmdlet)
Specifies the host name or IP address of the SFTP server that you want to connect to.
Syntax
Connect-SFTP -RemoteHost string
Data Type
cstr
Default Value
""
Remarks
Set this to the host name or IP address of the server you want to connect to. This value is typically provided by your server administrator or SFTP service provider.
This property is used together with RemotePort to establish the connection.
This is a required parameter.