?
Solved

Using Powershell to Install MSI to multiple terminal servers

Posted on 2012-12-28
4
Medium Priority
?
711 Views
Last Modified: 2013-01-03
I have multiple terminal servers TS01-TS99 I need to install a MSI to all 99 terminal servers. Is there someway to do this? Can powersheel do this? I don't want to manually install.
0
Comment
Question by:105881
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 1000 total points
ID: 38728542
why not just use psexec to do this  ?
Not that powershell can't however with psexec it is a simple
psexec @listofservers.txt cmd /c msiexec \\path to msi /flags
0
 
LVL 10

Assisted Solution

by:CSI-Windows_com
CSI-Windows_com earned 1000 total points
ID: 38728727
Would suggest you add "/L*vx %temp%\install.log" to your command line.  If %TEMP% won't resolve properly (say through psexec) you could create a transform with the property "MsiLogging" = "voicewarmupx" and then it will create a randomized name in temp - but at least you have a log somewhere.  With 99 there is a good chance you'll have some failures.
0
 

Author Comment

by:105881
ID: 38742311
Thanks, I was looking for a PowerShell solution but psexec looks like it will work better.
I've never used psexec so the full command would look like this?

psexec @listofservers.txt cmd /c msiexec \\path to msi /L*vx %temp%\install.log
0
 
LVL 29

Expert Comment

by:becraig
ID: 38742361
Yes that looks good.
0

Featured Post

WatchGuard's M Series Appliances - Miecom Approved

WatchGuard's newest M series appliances were put to the test by Miercom.  We had great results and outperformed all of our competitors in both stateless and stateful traffic throghput scenarios! Ready to see how your UTM appliance stacked up? Download the Miercom Report!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This script can help you clean up your user profile database by comparing profiles to Active Directory users in a particular OU, and removing the profiles that don't match.
There are times when we need to generate a report on the inbox rules, where users have set up forwarding externally in their mailbox. In this article, I will be sharing a script I wrote to generate the report in CSV format.
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question