Can't find Find-PacketProvider in PackageManagement

This topic contains 2 replies, has 1 voice, and was last updated by Profile photo of Stig Sörnsen Stig Sörnsen 6 months, 3 weeks ago.

  • Author
    Posts
  • #38914
    Profile photo of Stig Sörnsen
    Stig Sörnsen
    Participant

    Hi,

    I have installed PackageManagement (x64, msi) on couple of 2012 R2 servers.
    Some of them has the Find-PacketProvider cmdlet and some don't. I haven't figured out why there is difference.

    The only thing that has struct me is the CLR version – but has that really something to do with it?
    The server 2012 R2 that has the Find-PacketProvider cmdlet:

    PS C:\Windows\system32> $PSVersionTable

    Name Value
    ---- -----
    PSVersion 4.0
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.42000
    BuildVersion 6.3.9600.17400
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion 2.2

    The server 2012 R2 that does not have the Find-PacketProvider cmdlet:

    PS C:\Windows\system32> $PSVersionTable

    Name Value
    ---- -----
    PSVersion 4.0
    WSManStackVersion 3.0
    SerializationVersion 1.1.0.1
    CLRVersion 4.0.30319.34209
    BuildVersion 6.3.9600.17400
    PSCompatibleVersions {1.0, 2.0, 3.0, 4.0}
    PSRemotingProtocolVersion 2.2

    Best regards
    Stig

  • #38915
    Profile photo of Stig Sörnsen
    Stig Sörnsen
    Participant

    Good news, I guess. Upgraded the failing server to .NET 4.6.1 and still no Find-PacketProvider – so .NET is not the issue.. 🙂

    But then what is..

  • #38916
    Profile photo of Stig Sörnsen
    Stig Sörnsen
    Participant

    Seems Find-PackageProvider has been removed. The servers with the cmdlet are a bit older than the ones missing the cmdlet. I can easily install providers without the Find cmdlet.

    Case closed

You must be logged in to reply to this topic.