0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

PowerShellでPythonをWindowsに自動インストール

0
Last updated at Posted at 2025-05-14

このブログでは、PowerShellスクリプトを活用して、Pythonの自動インストールを実現する方法を解説します。特に、クラウド環境での効率的なセットアップを目指す方や、Computeインスタンスの作成時に自動的にインストールしたい方にとって、一助となれば幸いです。

【お知らせ】
この記事の最新版 (Python 3.14 対応済) は、個人ブログ「OCI Tech Journal」で公開しています。ぜひご覧ください。
👉 https://oci-tech.jp/install-python-with-powershell/

環境情報
OS: Windows Server 2019 Standard Edition (VM)
Python バージョン: 3.14.2 (x64)

ステップ

  • インストーラのダウンロード
  • インストール開始(/quiet PrependPath=1
  • インストーラの削除(オプション)

PowerShellのソースコードは、こちらでご確認いただけます。

インストール後の確認

PS C:\Users\opc> python -V
Python 3.14.2

関連記事
クラウド技術ブログ一覧
OCI Cloud-initスクリプト

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?