Git Product home page Git Product logo

azurementor / dotnetversionlister Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eliteloser/dotnetversionlister

0.0 1.0 1.0 35 KB

Use Svendsen Tech's Get-STDotNetVersion function to get a list of installed .NET versions on (remote) Windows computers

Home Page: https://www.powershelladmin.com/wiki/List_installed_.NET_versions_on_remote_computers

License: MIT License

PowerShell 100.00%

dotnetversionlister's Introduction

DotNetVersionLister

Get a list of installed .NET Framework versions on (remote) Windows computers.

As of 2019-06-18 versions up to .NET 4.8 are supported/detected. It's based on the information in this article: https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed

Blog documentation (I'm too lazy to duplicate here): https://www.powershelladmin.com/wiki/List_installed_.NET_versions_on_remote_computers

It's published to the PowerShell Gallery, so you can install/inspect/download with Install-Module, Find-Module and Save-Module. Link: https://www.powershellgallery.com/packages/DotNetVersionLister/

Example installation for your user only:

Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force

Example use:

Get-STDotNetVersion

and

Get-STDotNetVersion -ComputerName server1, server2, server3

or

Get-STDotNetVersion -ComputerName server1, server2, server3 -PSRemoting

Example output:

Get-STDotNetVersion -NoSummary


ComputerName : localhost
>=4.x        : 4.6.2
v4\Client    : Installed
v4\Full      : Installed
v3.5         : Not installed (no key)
v3.0         : Not installed (no key)
v2.0.50727   : Not installed (no key)
v1.1.4322    : Not installed (no key)
Ping         : True
Error        : 

Notes

The command/function name used to be Get-DotNetVersion in versions before v3 of the module. This is aliased if the command does not currently exist in the PowerShell session, but you have to either run Get-STDotNetVersion first to load it, as auto-load for Get-DotNetVersion does not work - or you can simply Import-Module -Name DotNetVersionLister first, as we had to on PowerShell v2.

NB! Note made 2019-02-15: I got some issues with publishing right now, so the version in the PowerShell gallery is still 2.2.6. I will direct my mental energy in such a way that the module is eventually published when the energy patterns align. 2.2.6 uses Get-DotNetVersion not Get-STDotNetVersion, while the version you can git clone here is the new one.

Published at last

At around 5 AM on a sleepless night January 27, 2020, the energy patterns aligned. The new v3.0.1 module is published. Let me know if I broke anything.

dotnetversionlister's People

Contributors

eliteloser avatar jon007 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.