Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Local ¶
type Local struct {
// Requested version of PowerShell to start.
Version PowerShellVersion // Default 5.1
}
Local represents a PowerShell session on the local machine, that is, the machine executing this code.
type PowerShellVersion ¶ added in v0.3.0
type PowerShellVersion int
const ( // Use Windows Powershell (5.1) WindowsPowerShell PowerShellVersion = iota // Use pwsh if found on system (version > 5) Pwsh )
type SSH ¶
type SSH struct {
Session sshSession
}
SSH represents a session on a remote computer, via SSH
Click to show internal directories.
Click to hide internal directories.