Skip to content

Latest commit

 

History

History
52 lines (47 loc) · 1.49 KB

Get-GacAssembly.md

File metadata and controls

52 lines (47 loc) · 1.49 KB

Get-GacAssembly

Gets the assemblies in the GAC. Assemblies can be filterd by Name, Version, Culture, PublicKeyToken or ProcessArchitecture.

SYNTAX

Get-GacAssembly [[-Name] <String[]>] [[-Version] <String[]>] [[-Culture] <String[]>] [[-PublicKeyToken] <String[]>] [[-ProcessorArchitecture] <ProcessorArchitecture[]>] [<CommonParameters>]

Get-GacAssembly [-AssemblyName] <AssemblyName[]> [<CommonParameters>]

PARAMETERS

-Name <String[]>

Filter on the Name part. Supports wildcards.

-Version <String[]>

Filter on the Version part. Supports wildcards.

-Culture <String[]>

Filter on the Culture part. 'neutral' or '' can be used to filter on assemblies without cultures. Supports wildcards.

-PublicKeyToken <String[]>

Filter on the PublicKeyToken part. Supports wildcards.

-ProcessorArchitecture <ProcessorArchitecture[]>

Filter on the ProcessorArchitecture part. Supports wildcards.

-AssemblyName <AssemblyName[]>

Filter on AssemblyName

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer and OutVariable.

EXAMPLES

C:\PS>Get-GacAssembly

This example returns all assemblies in the GAC

C:\PS>Get-GacAssembly -Name System* -Version 2.0.0.0

This example returns all assemblies in the GAC with a name starting with System and version 2.0.0.0.