LoginSignup
2
0

More than 5 years have passed since last update.

PowerShell > Link > PSのバージョンを確認する > $PSVersionTable < Invoke-RestMethod と ConvertTo-Json が見つからないエラー

Last updated at Posted at 2016-03-13

PowerShellのコードを実行しようとした時、バージョンの違いによってエラーとなった ( Invoke-RestMethod と ConvertTo-Json が見つからないとのエラー)。

バージョンは以下のリンクにあるように$PSVersionTableで確認できるようだ。

PowerShell/PowerShellのバージョンを確認する方法・$PSVersionTable

Windows7 では PSのバージョンは2.0で、Invoke-RestMethod と ConvertTo-Json はバージョン3.0以降で使用可能のようだ。

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