I tried using this code in this thread: http://stackoverflow.com/questions/113542/how-can-i-uninstall-an-application-using-powershell
But it doesn't uninstall the product.
I just get this back:
__GENUS : 2
__CLASS : __PARAMETERS
__SUPERCLASS :
__DYNASTY : __PARAMETERS
__RELPATH :
__PROPERTY_COUNT : 1
__DERIVATION : {}
__SERVER :
__NAMESPACE :
__PATH :
ReturnValue : 1603
Any ideas? Can I do this with VB easier? I need to uninstall a .exe then reinstall it.