Timeout Parameter (Connect-HDFS Cmdlet)
The value in seconds until the timeout error is thrown, canceling the operation.
Connect-HDFS -Timeout int
If Timeout = 0, operations do not time out. The operations run until they complete successfully or until they encounter an error condition.
If Timeout expires and the operation is not yet complete, the cmdlet throws an exception.