Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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