LoginSignup
2
2

More than 3 years have passed since last update.

【PowerShell】PowerShellからmsiをインストールしよう

Posted at

はじめに

主に仕事でIntuneを使ってるから、たくさんの端末にmsiを実行しようっていうps1を配信したいときの中身をわたし用にメモしていきます。

PowerShellの中身はこんな感じ

cmd /c "msiexec.exe /i "C:\×××\×××.msi"

"C:\×××\×××.msi"

ここはmsiの配置してあるフルパスを指定。
(フルパスは該当のmsiファイルをShift + 右クリックでパスのコピーを押せばコピーできる。)

Intuneからサイレントインストールさせたいときは、以下の通り/quietつければ大丈夫です!

cmd /c "msiexec.exe /i "C:\×××\×××.msi" /quiet

おわり。

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2