?
Solved

Using Powershell to Install MSI to multiple terminal servers

Posted on 2012-12-28
4
Medium Priority
?
715 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 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

The following article is intended as a guide to using PowerShell as a more versatile and reliable form of application detection in SCCM.
A project that enables an administrator to perform actions within a user session context not just at the time of login but any time later on day(s) or week(s) later.
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 anti-spam), the admin…
Screencast - Getting to Know the Pipeline

839 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