Psinfo save to file




















Close Menu. Thank you for reading this post. Kindly share it with others. Connect with D. I allow to create an account. When you login first time using a Social Login button, we collect your account public profile information shared by Social Login provider, based on your privacy settings.

We also get your email address to automatically create an account for you in our website. Once your account is created, you'll be logged-in to this account. Office Office Exchange Server.

Not an IT pro? Resources for IT Professionals. Sign in. United States English. Ask a question. Quick access. Search related threads. Remove From My Forums. Answered by:. Archived Forums. Windows PowerShell. Sign in to vote. Connect and share knowledge within a single location that is structured and easy to search.

I would like to run the free Microsoft executable psinfo. I have been able to run the psinfo. Then the output of psinfo will be piped into the file filename. The psinfo utility lists computer information, such as free disk space percentage and other information. If I try to use a one line batch file to pipe the psinfo data into a file, and run the batch file within Windows, it works, piping the data into a file. However, if I run the batch file from python, then the data will not pipe into a file.

How can I either run a batch file or the psinfo. I use the above example all the time. This makes use of the subprocess library, which has more merit in this use case considering you're trying to run a platform-specific executable. How are we doing? Please help us improve Stack Overflow. Take our short survey. Stack Overflow for Teams — Collaborate and share knowledge with a private group.

Create a free Team What is Teams? Collectives on Stack Overflow.



0コメント

  • 1000 / 1000