< Back

Remove-AppvClientPackage

Tue Jan 29, 2019 9:24 pm

NAME Remove-AppvClientPackage



SYNOPSIS

Removes the package from a computer.





SYNTAX

Remove-AppvClientPackage [-Name] <String> [[-Version] <String>] [<CommonParameters>]



Remove-AppvClientPackage [-Package] <AppvClientPackage> [<CommonParameters>]



Remove-AppvClientPackage [-PackageId] <Guid> [-VersionId] <Guid> [<CommonParameters>]





DESCRIPTION

The Remove-AppvClientPackage cmdlet removes the package from computer that runs the Microsoft Application Virtualization (App-V) client. The

cmdlet deletes the AppvClientPackage object.





PARAMETERS

-Name <String>

Specifies the friendly name of the package given during sequencing. This value is obtained from the package manifest.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Package <AppvClientPackage>

Specifies an App-V package.



Required? true

Position? 1

Default value none

Accept pipeline input? true(ByValue)

Accept wildcard characters? false



-PackageId <Guid>

Specifies the package ID that uniquely identifies the package. It can be found in the package manifest or by opening the package in the

sequencer. The package ID is shared by all versions of a specific package.



Required? true

Position? 1

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-Version [<String>]

Specifies the version of an App-V package in a lineage. If you do not specify this parameter, the cmdlet operates on all versions on the

computer.



Required? false

Position? 2

Default value none

Accept pipeline input? false

Accept wildcard characters? false



-VersionId <Guid>

Specifies a GUID that differentiates a package version from other versions, whether older, newer, or of a different lineage. If you do not

specify this parameter, the cmdlet operates on all versions of the package.



Required? true

Position? 2

Default value none

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 (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

Microsoft.AppvAgent.AppvClientPackage







OUTPUTS









Example 1: Remove a version of a package by using the pipeline operator



PS C:\\> Get-AppvPackage -Name "MyPackage" -Version 1 | Remove-Package



This command gets version 1 of the package named MyPackage, and then removes it from the computer.





Example 2: Remove a version of a package



PS C:\\> Remove-Package -Name "MyPackage" -Version 1



This command removes version 1 of the package named MyPackage from the computer.







RELATED LINKS

Online Version: http://go.microsoft.com/fwlink/?LinkId=827717

Add-AppvClientPackage

Get-AppvClientPackage

Mount-AppvClientPackage

Publish-AppvClientPackage

Repair-AppvClientPackage

Set-AppvClientPackage

Stop-AppvClientPackage

Unpublish-AppvClientPackage