Skip to main content
added 14 characters in body
Source Link
Arghya Sadhu
  • 45.3k
  • 10
  • 101
  • 125

I execute the powershell command line statement in python3.8,

import subprocess subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)

import subprocess
subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)

The running result is: 'select' is not an internal or external command, nor an executable program or batch file.

'select' is not an internal or external command, nor an executable program or batch file.

I execute the powershell command line statement in python3.8,

import subprocess subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)

The running result is: 'select' is not an internal or external command, nor an executable program or batch file.

I execute the powershell command line statement in python3.8,

import subprocess
subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)

The running result is:

'select' is not an internal or external command, nor an executable program or batch file.
Source Link

I execute the powershell command line statement in python3.8,

import subprocess subprocess.call('powershell.exe Get-WmiObject Win32_PnPSignedDriver| select DeviceName, Manufacturer, DriverVersion', shell=True)

The running result is: 'select' is not an internal or external command, nor an executable program or batch file.