|
|
|
|
|
|
|
__getEncodingNameByCodePage(self,
codePage) |
source code
|
|
|
|
|
|
|
|
|
|
|
__makePowerShellCompatible(self,
cmdline)
If passed command is a windows batch command it should be called in
batch command interpreter |
source code
|
|
|
__makePowerShellCompatibleWmicQuery(self,
cmdline)
Strip WMIC redirection part |
source code
|
|
|
__isConsoleCommand(self,
cmdline)
Indicates whether passed command line contains command of batch
command interpreter |
source code
|
|
|
|
|
execCmd(self,
cmdLine,
timeout=0,
waitForTimeout=0,
useSudo=1,
checkErrCode=1,
useCache=0,
lineWidth=80,
pipeToOutString=1)
Execute command in powershell * If current command is cmdlet: |
source code
|
|
|
execLocalScript(self,
path,
timeout=0,
waitForTimeout=0,
useSudo=1,
checkErrCode=1,
useCache=0)
Execute script on the probe |
source code
|
|
|
execMultilinedCmd(self,
cmdLine,
timeout=0,
waitForTimeout=0,
useSudo=1,
checkErrCode=1,
useCache=0)
Method intended to execute multiline scripts. |
source code
|
|
|
|
|
|
Inherited from WinShell :
closeClient ,
copyFileFromRemoteShare ,
copyFileIfNeeded ,
createDirectoryViaShellCommand ,
createSystem32Link ,
deleteDirectoryViaShellCommand ,
deleteFile ,
deleteRemoteFileFromShare ,
fsObjectExists ,
getCodePage ,
getShellCmdSeperator ,
getSystem32DirectoryName ,
isWinOs ,
putFile ,
rebuildPath ,
removeSystem32Link ,
safecat ,
setCodePage
Inherited from Shell :
canCopyFile ,
createOutputHandler ,
determineOsLanguage ,
execAlternateCmds ,
execAlternateCmdsList ,
execCmdAsBytes ,
executeCommandAndDecode ,
executeCommandAndDecodeByMatcher ,
getCharsetName ,
getClientType ,
getCredentialId ,
getDefaultCommandTimeout ,
getLastCmdReturnCode ,
getOsLanguage ,
getOsType ,
getOsVersion ,
getPort ,
getXML ,
isWindowsWithCygwin ,
resolveHost ,
resolveIp ,
setSessionLocale ,
useCharset
|