Skip to content

WMIC is deprecated on Windows 10 21H1 and later (including Windows 11) #5

@jcnmsg

Description

@jcnmsg

WMIC, the tool being used to calculate disk statistics on Windows, is deprecated on Windows 10 21H1 and later (source).
You might want to update the code to use powershell commands instead, eg. powershell Get-CimInstance -ClassName Win32_LogicalDisk.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions