Python Forum
PsInfo from remote computer in python
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PsInfo from remote computer in python
#1
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:

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?
Yoriz write Aug-09-2021, 05:45 AM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply


Messages In This Thread
PsInfo from remote computer in python - by susja - Aug-09-2021, 12:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Triggering a ps1 script in remote windows server via http python request jasveerjassi 1 532 Jan-26-2024, 07:02 PM
Last Post: deanhystad
  python not detected on computer adriennn 3 1,409 Nov-18-2023, 02:46 PM
Last Post: snippsat
  i tried to install python for the first time today and pretty certain im being remote brianlj 2 737 Oct-03-2023, 11:15 AM
Last Post: snippsat
  Python Help, New User, Computer Automation hexagonalyeti 2 1,766 Jun-25-2021, 11:43 AM
Last Post: hexagonalyeti
  How to gather information from remote host using ansible module in python amritjsr 0 2,125 Jul-20-2019, 01:17 AM
Last Post: amritjsr
  help need with running python script on remote windows machine onenessboy 2 11,380 Dec-14-2018, 03:02 PM
Last Post: onenessboy
  connect to remote database via python script sunstar20 5 5,550 Apr-23-2018, 11:05 AM
Last Post: Gribouillis
  Remote control of the Visual Studio 2013 debug menu using Python MariusTo 0 2,577 Jan-17-2018, 04:58 PM
Last Post: MariusTo
  Install Python 2 and 3 on same Computer Able98 6 72,054 Dec-13-2017, 06:32 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020