Documentation ¶
Index ¶
Constants ¶
View Source
const PipeHasEnded = "The pipe has been ended."
PipeHasEnded string is used during the base64+sha265 upload process
View Source
const PipeIsBeingClosed = "The pipe is being closed."
PipeIsBeingClosed string is used during the base64+sha265 upload process
Variables ¶
This section is empty.
Functions ¶
func Cmd ¶
Cmd builds a command-line for executing a complex command or script as an EncodedCommand through powershell
func DoubleQuote ¶
DoubleQuote escapes a string in a way that can be used as a windows file path
func EncodeCmd ¶
EncodeCmd base64-encodes a string in a way that is accepted by PowerShell -EncodedCommand
func SingleQuote ¶
SingleQuote quotes and escapes a string in a format that is accepted by powershell scriptlets from jbrekelmans/go-winrm/util.go PowerShellSingleQuotedStringLiteral
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.