# Simple procedure for installing msi in a domain env

**URL:** <https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091>\
**Category:** PowerShell Help\
**Created:** [July 15, 2021, 6:45am UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091 "2021-07-15T06:45:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![niro](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@niro](https://forums.powershell.org/u/niro)\
**Post date:** [July 15, 2021, 6:45am UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/1 "2021-07-15T06:45:58Z")

</div>

hello friends,  
i’m looking for a simple solution to install msi software with ini file remotely to about 50 domain computers via powershell.

thanks  
niro

---

<div class="post-metadata">

**Author:** ![kvprasoon](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/kvprasoon/32/4449_2.png) [@kvprasoon](https://forums.powershell.org/u/kvprasoon)\
**Post date:** [July 15, 2021, 7:01am UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/2 "2021-07-15T07:01:41Z")

</div>

Great.

Have a look at below docs, it will help you to get it done easily.

[Invoke-Command](https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/invoke-command?view=powershell-5.1), read it full it will help you. Then have a look at example 9 in that link as well.

Only after you finish it, look at below link.

[Powershell: Remote install software (powershellexplained.com)](https://powershellexplained.com/2017-04-22-Powershell-installing-remote-software/)

---

<div class="post-metadata">

**Author:** ![jlogan3o13](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@jlogan3o13](https://forums.powershell.org/u/jlogan3o13)\
**Post date:** [July 15, 2021, 2:41pm UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/3 "2021-07-15T14:41:32Z")

</div>

As you say you’re in a domain environment, sometimes the easiest solution doesn’t involve PS at all:

> **[Use Group Policy to remotely install software - Windows Server](https://docs.microsoft.com/en-us/troubleshoot/windows-server/group-policy/use-group-policy-to-install-software)**
>
> Describes how to use Group Policy to remotely install software.

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [July 15, 2021, 3:04pm UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/4 "2021-07-15T15:04:41Z")

</div>

I thought the same as you @jlogan3o13, however, he mentions “with ini file” and did not want to walk him down the path of using Orca to set up a manifest file to get that done.

---

<div class="post-metadata">

**Author:** ![niro](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@niro](https://forums.powershell.org/u/niro)\
**Post date:** [July 19, 2021, 5:36am UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/5 "2021-07-19T05:36:12Z")

</div>

yes that’s obviously a wise idea.  
problem is, i don’t have the required permissions to do so.  
however, i have gotten PS & psexec permissions so im working in that direction…

thanks

---

<div class="post-metadata">

**Author:** ![tonyd](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/tonyd/32/1041_2.png) [@tonyd](https://forums.powershell.org/u/tonyd)\
**Post date:** [July 19, 2021, 4:12pm UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/6 "2021-07-19T16:12:37Z")

</div>

Hmm … if you don’t have the permissions to implement a GPO, how is it you can run a script that requires admin on 50+ computers? I am just curious.

---

<div class="post-metadata">

**Author:** ![niro](https://avatars.discourse-cdn.com/v4/letter/n/bb73d2/32.png) [@niro](https://forums.powershell.org/u/niro)\
**Post date:** [August 17, 2021, 7:05am UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/7 "2021-08-17T07:05:16Z")

</div>

yes weird but that’s how it goes at the moment 🙂

---

<div class="post-metadata">

**Author:** ![jlogan3o13](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@jlogan3o13](https://forums.powershell.org/u/jlogan3o13)\
**Post date:** [August 19, 2021, 3:06pm UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/8 "2021-08-19T15:06:05Z")

</div>

How about a little more information, please, to help us help you 😉

Are these physical machines or VMs?  
OS?  
Installing as the logged in user or a service account/SYSTEM?

---

<div class="post-metadata">

**Author:** ![dotnVo](https://avatars.discourse-cdn.com/v4/letter/d/4af34b/32.png) [@dotnVo](https://forums.powershell.org/u/dotnVo)\
**Post date:** [May 16, 2024, 8:21pm UTC](https://forums.powershell.org/t/simple-procedure-for-installing-msi-in-a-domain-env/17091/9 "2024-05-16T20:21:57Z")

</div>


