How To: Check Which .NET Framework Versions Are Installed Using PowerShell

Follow
    Applies to:
  • SecureAuth Identity Platform
Deployment model:
  • Cloud
  • Hybrid
  • On Premises
  • Version Affected: All

     

    Overview

    This article provides a PowerShell command that lists every version of the .NET Framework installed on a Windows server, which is useful for confirming a server meets a feature's minimum .NET version requirement.

     

    Checking Installed .NET Framework Versions

    Open PowerShell and run the following command:

    gci 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -recurse | gp -name Version,Release -EA 0 | where { $_.PSChildName -match '^(?!S)\p{L}'} | select PSChildName, Version, Release | Sort-Object version

    This lists every installed .NET Framework version's name, version number, and release number, sorted from oldest to newest.


     

    SecureAuth Knowledge Base Articles provide information based on specific use cases and may not apply to all appliances or configurations. Be advised that these instructions could cause harm to the environment if not followed correctly or if they do not apply to the current use case.

    Customers are responsible for their own due diligence prior to utilizing this information and agree that SecureAuth is not liable for any issues caused by misconfiguration directly or indirectly related to SecureAuth products.

    0 out of 0 found this helpful

    Comments

    0 comments

    Please sign in to leave a comment.