Priority
(Low) Something is a little off
Description
I tried to use the m365 teams cache remove command and ran into the following error:

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
- On a Win 11 device, run the
m365 teams cache remove command
- See the error.
Expected results
Should clear Teams cache.
Actual results
Error:

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
Priority
(Low) Something is a little off
Description
I tried to use the
m365 teams cache removecommand and ran into the following error: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
m365 teams cache removecommandExpected results
Should clear Teams cache.
Actual results
Error:
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