Automating the world one-liner at a time…
Andy Cheung wrote a very good blog on WMI performance HERE. Check it out.
Enjoy!
Jeffrey Snover [MSFT] Distinguished Engineer Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx
Cool! Is there a way to do his example 3, Reusing WMI Connection, in powershell? I do a lot of WMI querying for system and service monitoring. Extra performance would be great.
The only way you can do that now is by using the .NET api access. You can be sure that it is on the to-do list for the next release.
jps