This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients eryksun, lemburg, miss-islington, paul.moore, sahsariga111, steve.dower, tim.golden, vstinner, zach.ware
Date 2022-01-26.08:20:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <aef68045-f741-2f4e-99ea-d24876a395a2@egenix.com>
In-reply-to <1643156985.86.0.167165849051.issue45382@roundup.psfhosted.org>
Content
On 26.01.2022 01:29, Eryk Sun wrote:
> 
> Eryk Sun <eryksun@gmail.com> added the comment:
> 
>> Bit wmic seems nice solution.
>> Is still working for windows lower than 11?
> 
> wmic.exe is still included in Windows 10 and 11, but it's officially deprecated [1], which means it's no longer being actively developed, and it might be removed in a future update. PowerShell is the preferred way to use WMI.

All of these require shelling out to the OS, so why not stick to
`ver` as we've done in the past. This has existed for ages and
will most likely not disappear anytime soon.

Is there a good reason to prefer wmic or PowerShell (which are
less likely to be available or reliable) ?

> ---
> [1] https://docs.microsoft.com/en-us/windows/deployment/planning/windows-10-deprecated-features
-- 
Marc-Andre Lemburg
eGenix.com
History
Date User Action Args
2022-01-26 08:20:08lemburgsetrecipients: + lemburg, paul.moore, vstinner, tim.golden, zach.ware, eryksun, steve.dower, miss-islington, sahsariga111
2022-01-26 08:20:08lemburglinkissue45382 messages
2022-01-26 08:20:07lemburgcreate