< Back
Invoke-SSHCommandStream
Post
NAME Invoke-SSHCommandStream
SYNOPSIS
SYNTAX
Invoke-SSHCommandStream [-SessionId] <Int32> [-Command] <String> [[-TimeOut] <Int32>] [-EnsureConnection]
[-HostVariable <String>] [-ExitStatusVariable <String>] [<CommonParameters>]
Invoke-SSHCommandStream [-SSHSession] <SshSession> [-Command] <String> [[-TimeOut] <Int32>] [-EnsureConnection]
[-HostVariable <String>] [-ExitStatusVariable <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Command <String>
@{Text=}
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SessionId <Int32>
Session Id for an exiting SSH session.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnsureConnection [<SwitchParameter>]
@{Text=}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-TimeOut <Int32>
@{Text=}
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HostVariable <String>
@{Text=}
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExitStatusVariable <String>
@{Text=}
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SSHSession <SshSession>
@{Text=}
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
SSH.SshSession
OUTPUTS
System.Object
NOTES
Example 1
PS C:\\> {{ Add example code here }}
{{ Add example description here }}
RELATED LINKS
Online Version: https://github.com/darkoperator/Posh-SS ... aster/docs
SYNOPSIS
SYNTAX
Invoke-SSHCommandStream [-SessionId] <Int32> [-Command] <String> [[-TimeOut] <Int32>] [-EnsureConnection]
[-HostVariable <String>] [-ExitStatusVariable <String>] [<CommonParameters>]
Invoke-SSHCommandStream [-SSHSession] <SshSession> [-Command] <String> [[-TimeOut] <Int32>] [-EnsureConnection]
[-HostVariable <String>] [-ExitStatusVariable <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Command <String>
@{Text=}
Required? true
Position? 1
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SessionId <Int32>
Session Id for an exiting SSH session.
Required? true
Position? 0
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-EnsureConnection [<SwitchParameter>]
@{Text=}
Required? false
Position? named
Default value False
Accept pipeline input? False
Accept wildcard characters? false
-TimeOut <Int32>
@{Text=}
Required? false
Position? 2
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-HostVariable <String>
@{Text=}
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-ExitStatusVariable <String>
@{Text=}
Required? false
Position? named
Default value None
Accept pipeline input? False
Accept wildcard characters? false
-SSHSession <SshSession>
@{Text=}
Required? true
Position? 0
Default value None
Accept pipeline input? True (ByValue)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
SSH.SshSession
OUTPUTS
System.Object
NOTES
Example 1
PS C:\\> {{ Add example code here }}
{{ Add example description here }}
RELATED LINKS
Online Version: https://github.com/darkoperator/Posh-SS ... aster/docs