< Back
Test-CDotNet
Post
NAME Test-CDotNet
SYNOPSIS
Tests if .NET is installed.
SYNTAX
Test-CDotNet -V2 [<CommonParameters>]
Test-CDotNet -V4 -Full [<CommonParameters>]
Test-CDotNet -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?
PARAMETERS
-V2 [<SwitchParameter>]
Test if .NET 2.0 is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-V4 [<SwitchParameter>]
Test if .NET 4.0 is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Client [<SwitchParameter>]
Test if hte .NET 4 client profile is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Full [<SwitchParameter>]
Test if the .NET 4 full profile is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-CDotNet -v2
Demonstrates how to test if .NET 2 is installed.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-CDotNet -v4 -Full
Demonstrates how to test if the full .NET v4 is installed.
RELATED LINKS
http://msdn.microsoft.com/en-us/kb/kbar ... ?id=318785
SYNOPSIS
Tests if .NET is installed.
SYNTAX
Test-CDotNet -V2 [<CommonParameters>]
Test-CDotNet -V4 -Full [<CommonParameters>]
Test-CDotNet -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?
PARAMETERS
-V2 [<SwitchParameter>]
Test if .NET 2.0 is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-V4 [<SwitchParameter>]
Test if .NET 4.0 is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Client [<SwitchParameter>]
Test if hte .NET 4 client profile is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Full [<SwitchParameter>]
Test if the .NET 4 full profile is installed.
Required? true
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Test-CDotNet -v2
Demonstrates how to test if .NET 2 is installed.
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Test-CDotNet -v4 -Full
Demonstrates how to test if the full .NET v4 is installed.
RELATED LINKS
http://msdn.microsoft.com/en-us/kb/kbar ... ?id=318785