Scripting Gone Wrong - how to undo? RRS feed

  • Question

  • In short, we were automating removal of programs we didn't want installed. However instead of finding the wmi object assigning it to a variable an dcalling the uninstall function, we removed the class used to find the wmi object.

    Remove-WmiObject -Class Win32_Product

    Is it possible to rebuild that class?

    Michael Seaman

    Friday, May 26, 2017 2:32 PM


All replies