User Parameter (Invoke-Rshell Cmdlet)
The username to use for authentication.
Invoke-Rshell -User string
Every time User and Password are set, the cmdlet will authenticate with the server. It is recommended that the Credential parameter is set instead of User/Password because of security reasons. If both Credential and this parameter is set, the Credential value is used.