Forum Discussion
Does Microsoft stop support WMIC or WMI?
Hello everyone,
Nice to meet you!
I heard that MS has plans to deprecate and stop supporting the VB script very soon. I have few queries, please clarify
- Does Microsoft stop supporting WMIC or WMI along with the VB script?
- Can we use WMI commands in PowerShell scripts?
thanks
Madhu
- LainRobertsonSilver Contributor
Hi madhugeddada ,
I'm assuming you're talking about this announcement:
WMI has nothing to do with VBScript and will continue to exist.
VBScript is simply language, whereas WMI is an interface that can be accessed from many languages - VBScript being just one.
Dropping support for VBScript therefore has no bearing on the interfaces you could access using VBScript.
PowerShell has been able to access WMI from day one, meaning it is one option.
Another option for existing VBScript scripts running under the Windows Scripting Host can be converted to use the Javascript language if required.
Cheers,
Lain