Solved

Using Powershell to Install MSI to multiple terminal servers

Posted on 2012-12-28
4
700 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
  • 2
4 Comments
 
LVL 28

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 28

Expert Comment

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

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
In this previous article (https://oddytee.wordpress.com/2016/05/05/provision-new-office-365-user-and-mailbox-from-exchange-hybrid-via-powershell/), we made basic license assignments to users in O365. When I say basic, the method is the simplest way …
This video discusses moving either the default database or any database to a new volume.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now