Embedding Powershell v2.0 in .NET app on Windows 8 RTM

后端 未结 5 870
情歌与酒
情歌与酒 2020-12-05 07:33

Im getting the following error when trying to run hosted powershell scripts before upgrading from Windows 7 I never got this error.

The following erro

5条回答
  •  半阙折子戏
    2020-12-05 08:04

    Install the appropriate version of PowerShell for your OS:

    • Windows XP SP2 / Vista / 2003 / 2008 - PowerShell v1.0
    • Windows XP SP3 / Vista SP1 / 7 / 2003 SP2 / 2008 R2 - PowerShell v2.0
    • Windows 7 SP1 / 8 / 2008 SP1 / 2008 R2 SP1 / 2012 - PowerShell v3.0
    • Windows 7 SP1 / 8.1 / 2008 R2 SP1 / 2012 / 2012 R2 - PowerShell v4.0
    • Windows 7 SP1 / 8.1 / 2008 R2 SP1 / 2012 / 2012 R2 - PowerShell v5.0 (as part of Windows Management Framework (WMF) 5.0)

提交回复
热议问题