Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

uninstall of Office 2013 from powershell not working

$
0
0

I use the following:

(Get-WmiObject-ClassWin32_Product-Filter"Name = 'Microsoft Office Professional Plus 2013'").Uninstall()

To uninstall Office Pro 2013...but it's not uninstalling. It sets the installstate to "5", whatever that is. I have tried a reboot, and still no go. I have tried many script variations, all yielding the same. When the command executes, it returns:
__GENUS          : 2
__CLASS          : __PARAMETERS
__SUPERCLASS     :
__DYNASTY        : __PARAMETERS
__RELPATH        :
__PROPERTY_COUNT : 1
__DERIVATION     : {}
__SERVER         :
__NAMESPACE      :
__PATH           :
ReturnValue      : 1603
PSComputerName   :

But when I look in control panel, the office is still there, and a get-wmiobject still shows it as well.

What is going on here?

mpleaf


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>