Get-DotNETVersion

Module: MO_Module
Applies to: Windows Server 2008R2, Windows Server 2012, Windows Server 2012R2, Windows Server 2016, Windows Server 2019, Windows 10

Use the Get-DotNETVersion function to view the current .NET version installed on the local computer.

Get-DotNETVersion

SYNOPSIS

Displays .NET version on a computer.

SYNTAX

Get-DotNETVersion [[-Computer] <Object>] [<CommonParameters>]

DESCRIPTION

This cmdlet obtains the current version of .NET on either the local machine or a remote computer. Listed are the current version registry values and the related .NET version with the corresponding Exchange Server supported version.

EXAMPLES

EXAMPLE 1

Get-DotNETVersion

Displays the current .NET version on the machine that this is run on.

EXAMPLE 2

Get-DotNETVersion -Computer ServerToTest

This will display the .NET verion on the 'ServerToTest' in your environment.

PARAMETERS

-Computer

Enter a computer name if needing to run this function against a remote machine.

Type: Object
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Add a Comment