Skip to content

Test-Assembly

SYNOPSIS

PSCX Cmdlet: Tests whether or not the specified file is a .NET assembly.

SYNTAX

Path (Default)

Test-Assembly [-Path] <PscxPathInfo[]> [<CommonParameters>]

LiteralPath

Test-Assembly [-LiteralPath] <PscxPathInfo[]> [<CommonParameters>]

DESCRIPTION

Tests whether or not the specified file is a .NET assembly.

EXAMPLES

EXAMPLE 1

PS C:\>


PARAMETERS

-LiteralPath

Specifies a path to the item. The value of -LiteralPath is used exactly as it is typed. No characters are interpreted as wildcards. If the path includes escape characters, enclose it in single quotation marks. Single quotation marks tell Windows PowerShell not to interpret any characters as escape sequences.

Type: Pscx.IO.PscxPathInfo[]
Parameter Sets: LiteralPath
Aliases: PSPath

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Path

Specifies the path to the file to process. Wildcard syntax is allowed.

Type: Pscx.IO.PscxPathInfo[]
Parameter Sets: Path
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName, ByValue)
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.

INPUTS

OUTPUTS

NOTES

Back to top