header
header Register : : Login header
header
divider
menuleft
menuright
submenu
left

[August 25th, 2008] Check the home page regarding PowerShell related news from a brand new sponsor: Idera

R & R applications
Last Post 13 Aug 2008 01:25 PM by halr9000. 1 Replies.
Printer Friendly
Sort:
NextNext
You are not authorized to post a reply.
Author Messages
skippy997User is Offline
New Member
New Member
Posts:1
Avatar

--
13 Aug 2008 04:07 AM  

I am fairly new to PowerShell and I have been trying to figure out how to remotely uninstall an application such UltraVNC and than reinstall a newer version?  I am working in domain envirnoment with approximately 700 end users.  I know there is other options but I was trying to promote the use of PowerShell.  Skippy997

halr9000User is Offline
PowerShell MVP, Site Admin
Basic Member
Basic Member
Posts:335
Avatar

--
13 Aug 2008 01:25 PM  
What you need to do first is to lay out the requirements. Is this is using an installer, or will it be more of an xcopy type of install? If this is using an installer, you'll need to work out the steps required to do an unattended upgrade using the installer first before even thinking about PowerShell. You can invoke an uninstall of an application that appears in Add/Remove Programs without too much difficulty, but I've had mixed results with the process. e.g.

38# $app = Get-WmiObject -Query 'SELECT * FROM win32_product WHERE name = "VMware ThinApp"'
39# $app.Uninstall()


Shay wrote a great article a while back on how to work with remote processes, check that out.
Community Director, PowerShellCommunity.org
Co-host, PowerScripting Podcast
Author, TechProsaic
You are not authorized to post a reply.

Active Forums 4.1
right
   
footer Sponsored by Quest Software • SAPIEN Technologies • ShellTools, LLC • Microsoft Windows Server 2008 footer
footer