---------- Forwarded message ----------
From: Todd Lemmiksoo <[email protected]>
Date: Tue, Sep 24, 2013 at 9:14 AM
Subject: Powershell scripting help using wmi to uninstall app
To: NT System Admin Issues <[email protected]>
I have the following powershell script to uninstall an application that is
not working.
$classKey="IdentifyingNumber=`"`{1693DDE2-4577-46E9-AEE2-0EAFE1F2A00E`}`",Name=`"EMC
Avamar for Windows`",version=`"6.1.101.87`""
$server = (Get-Content c:\temp\vmservers.txt)
foreach($server in $servers)
{ ([wmi]"\\$server\root\cimv2:Win32_Product.$classKey").uninstall() }
No error message is displayed in the console.
All help is welcome as to how to troubleshoot this.
--
T. Todd Lemmiksoo
--
T. Todd Lemmiksoo