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?

Power Automate Desktop で PowerShell 7 を使用する

0
Last updated at Posted at 2025-07-29

現在は、Power Automate Desktop では PowerShell 7 がサポートされておりません。

これは、Power Automate Desktop が .Net Framework 上で動作しており、.Net Core を基盤とする PowerShell 7 とは互換性がないためです。
そのため、Power Automate Desktop の「PowerShell スクリプトを実行」アクションから直接 PowerSell 7 を実行することはできません。

ただし、PowerShell 7 を呼び出す処理と実行内容を記述した .ps1 ファイルを作成して、Power Automate Desktop で以下のコマンドを実行することで、PowerShell 7 によるスクリプトの実行が可能です。

powershell.exe -ExecutionPolicy Bypass -Files "<.ps1ファイルのフルパス>"

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?