Skip to content

Bug report: WMIC utility deprecated #6515

Description

@Laskewitz

Priority

(Low) Something is a little off

Description

I tried to use the m365 teams cache remove command and ran into the following error:

image

After a little bit of searching - it turns out WMIC is deprecated:
https://techcommunity.microsoft.com/blog/windows-itpro-blog/wmi-command-line-wmic-utility-deprecation-next-steps/4039242

Steps to reproduce

  1. On a Win 11 device, run the m365 teams cache remove command
  2. See the error.

Expected results

Should clear Teams cache.

Actual results

Error:

image

Diagnostics

No response

CLI for Microsoft 365 version

v10.1.0

nodejs version

v22.12.0

Operating system (environment)

Windows

Shell

Windows PowerShell

cli doctor

No response

Additional Info

No response

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions