How do I install PCSX Powershell module?

前端 未结 5 2051
忘掉有多难
忘掉有多难 2021-02-13 11:28

I\'m running Windows 7 with PowerShell 2 installed.

I\'ve downloaded version 2.1 from here - http://pscx.codeplex.com/releases

The Release notes say

    <
5条回答
  •  粉色の甜心
    2021-02-13 12:17

    In PowerShell 5.0, you can do:

    Find-Package pscx | ? ProviderName -eq PSModule | Install-Package -Force
    

    The -Force parameter will cause it to upgrade if an older version is already installed.

    In PowerShell 5.1, you'll need:

    Find-Package pscx | ? ProviderName -eq PowerShellGet | Install-Package -Force
    

    or

    Find-Package pscx -ProviderName PowerShellGet | Install-Package -Force
    

    or just

    Install-Package pscx -Force
    

提交回复
热议问题