Open clintoncwolfe opened 3 years ago
What's the impact of this since windows nano is basically a dead platform?
Looks to be very minor. I just tested again on Windows Server Core LTS 2019, and it does include wmic.exe . Fixing this will be awkward since we don't know if we have Powershell this early in the platform detection phase. I think we should leave it be for now, but if it disappears in the future this issue should be here to track it.
On machines that are missing wmic.exe (such as Windows Nano),
inspec detect
will be missing architecture data, like this:The cause is traced to wmic.exe being missing, which was deprecated. Users are now advised to use powershell commandlets to get the data.
For getting the CPU architecture, try