P
P
PaffosONE2020-11-05 01:33:39
Python
PaffosONE, 2020-11-05 01:33:39

How to run PowerShell via Python as administrator?

Good evening, such a problem, you need to run PowerShell as administrator through Python, how to do it?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Developer, 2020-11-05
@PaffosONE

Learn to google in English
https://stackoverflow.com/questions/7690994/runnin...

X
ximik666, 2020-11-06
@ximik666

To work powershell from python, I used pypsrp, when connecting, you can specify the user on behalf of which to run powershell.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question