Solved

Using Powershell to Install MSI to multiple terminal servers

Posted on 2012-12-28
4
708 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 250 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 250 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Synchronize a new Active Directory domain with an existing Office 365 tenant
Windows 10 came with  a lot of built in applications, Some organisations leave them there, some will control them using GPO's. This Article is useful for those who do not want to have any applications in their image (example:me).
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
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…

738 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