Aug-09-2021, 12:30 AM
(This post was last modified: Aug-09-2021, 05:45 AM by Yoriz.
Edit Reason: Added code tags
)
I need to get output from PsInfo.exe on remote computer. I am located on vhabosapp4gen but need to get information about vhabosdev25 From command line I execute:
It returns me information about remote computer I have to run it using python3. Hence I execute the following:
PsInfo.exe -d -nobanner \\vhabosdev25
It returns me information about remote computer I have to run it using python3. Hence I execute the following:
from subprocess import check_output x = check_output("PsInfo.exe -d -nobanner \\vhabosdev25", shell=True)It return me information about local vhabosapp4gen Question: how could I get information about remote computer using python?