PackageDeployment Module Help

Package Deployment Module

Uninstall-GacAssembly Cmdlet

Version 4.0.0.5

Uninstall-GacAssembly

Synopsis

Deletes an assembly.

Syntax

Uninstall-GacAssembly [-Name] <String> [[-UninstallVersions] <String>] [[-Version] <String>] [-ContinueOnError] [[-Culture] <String>] [[-PublicKeyToken] <String>] [[-Context] <String>] [<CommonParameters>]

Description

Deletes an assembly from a computer's Global Assembly Cache (GAC).

Parameters

-Context <String>

User: Execution under user account; logging in HKEY_CURRENT_USER, i.e. for the user.
UserPerService: User-related command, execution in Service context.
Computer: Execution under user account; logging in HKEY_CURRENT_MACHINE, i.e. for the computer.
ComputerPerService: Execution in service context; logging in HKEY_LOCAL_MACHINE, i.e. for the computer.

Required

False

Position

5

Accepts pipeline input

False

-ContinueOnError <SwitchParameter>

Continues script execution in spite of errors in the respective command

Required

False

Position

Named

Accepts pipeline input

False

-Culture <String>

Chose this option if you want to delete only the specified version or language of the selected assembly. In order to delete several versions (or language versions), please use wildcards (e.g. *; ?); for example: ?.?.?????

Required

False

Position

3

Accepts pipeline input

False

-Name <String>

Deletes an assembly from a computer's Global Assembly Cache (GAC).

Required

True

Position

0

Accepts pipeline input

False

-PublicKeyToken <String>

Chose this option if you want to delete only the specified version or language of the selected assembly. In order to delete several versions (or language versions), please use wildcards (e.g. *; ?); for example: ?.?.?????

Required

False

Position

4

Accepts pipeline input

False

-UninstallVersions <String>

All: Chose this option if you want to delete the selected assembly from the Global Assembly Cache.
Specific: Chose this option if you want to delete only the specified version or language of the selected assembly. In order to delete several versions (or language versions), please use wildcards (e.g. *; ?); for example: ?.?.?????

Required

False

Position

1

Accepts pipeline input

False

-Version <String>

Chose this option if you want to delete only the specified version or language of the selected assembly. In order to delete several versions (or language versions), please use wildcards (e.g. *; ?); for example: ?.?.?????

Required

False

Position

2

Accepts pipeline input

False

<CommonParameters>

For more information about common parameters, type "Get-Help about_CommonParameters".