Test-DotNet

Tests if .NET is installed.

Syntax

Test-DotNet -V2 [<CommonParameters>]

Test-DotNet -V4 -Full [<CommonParameters>]

Test-DotNet -V4 -Client [<CommonParameters>]

Description

Currently, this function only tests if .NET 2 or 4 is installed. Perhaps some friendly people out there will extend it to perform further checks?

Related Commands

Parameters

Name Type Description Required? Pipeline Input Default Value
V2 SwitchParameter

Test if .NET 2.0 is installed.

true false False
V4 SwitchParameter

Test if .NET 4.0 is installed.

true false False
Client SwitchParameter

Test if hte .NET 4 client profile is installed.

true false False
Full SwitchParameter

Test if the .NET 4 full profile is installed.

true false False

EXAMPLE 1

Test-DotNet -v2

Demonstrates how to test if .NET 2 is installed.

EXAMPLE 2

Test-DotNet -v4 -Full

Demonstrates how to test if the full .NET v4 is installed.