PowerShell modules missing in Windows 7 -- not installed by KB2819745 upgrade

Welcome Forums General PowerShell Q&A PowerShell modules missing in Windows 7 -- not installed by KB2819745 upgrade

This topic contains 3 replies, has 3 voices, and was last updated by

 
Participant
3 years, 6 months ago.

  • Author
    Posts
  • #26771

    Participant
    Points: 1
    Rank: Member

    On my Windows 7.0 SP1 computer, I downloaded Microsoft's KB2819745 to upgrade it from PowerShell v2.0 to v4.0. Get-Host now returns version 4.0 yet running Get-Module -ListAvailable returns only 20 PowerShell modules. DnsServer, DnsClient, NetAdapter, ScheduledTask, ServerManager, etc. are among the missing.

    My Windows 8.1 has a list of 78 modules.

    What steps are necessary to acquire those other 50 modules for my Windows 7 computer?

  • #26772

    Member
    Points: 0
    Rank: Member

    Other than upgrading to Windows 8 or later, you can't. Those are the new CIM modules that rely on parts of WMI which don't exist prior to Windows 8 / Server 2012.

  • #26773

    Keymaster
    Points: 1,785
    Helping HandTeam Member
    Rank: Community Hero

    See also, https://powershell.org/kb/where-is-the-___-command-ive-installed-the-latest-version-of-powershell-and-cant-find-it/

    Modules are sometimes a feature of the operating system, not PowerShell itself. Some modules come with PowerShell, others come with a specific version of Windows.

  • #26777

    Participant
    Points: 1
    Rank: Member

    Thanks for the quick reply! I did try installing RSAT on the Windows 7 computer last night but it didn't add the PowerShell DNS Modules I sought. I will look into WMI — it probably can retrieve the information, too.

The topic ‘PowerShell modules missing in Windows 7 -- not installed by KB2819745 upgrade’ is closed to new replies.