Tests if .NET is installed.
Test-DotNet -V2 [<CommonParameters>]
Test-DotNet -V4 -Full [<CommonParameters>]
Test-DotNet -V4 -Client [<CommonParameters>]
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?
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 |
Test-DotNet -v2
Demonstrates how to test if .NET 2 is installed.
Test-DotNet -v4 -Full
Demonstrates how to test if the full .NET v4 is installed.