Skip to content

Instantly share code, notes, and snippets.

@lukemurraynz
Created December 13, 2016 19:10
Show Gist options
  • Save lukemurraynz/9fe9be2c307615c773fe3648f7ca3f9c to your computer and use it in GitHub Desktop.
Save lukemurraynz/9fe9be2c307615c773fe3648f7ca3f9c to your computer and use it in GitHub Desktop.
Remove App-V packages from a Windows workstation
#requires -Version 2 -Modules AppvClient
<#
Author: Luke Murray (Luke.Geek.NZ)
Version: 0.1
Purpose:
The purpose of this script is to remove any App-V package data stored on a workstation (tested with Windows 7 X64 ENT). This script will delete all App-V locally stored package data so it could be redownloaded again.
This needs to be ran using an Elevated PowerShell ISE or PowerShell window.
#>
Import-Module -Name AppvClient
Get-AppvClientConnectionGroup -all | Remove-AppvClientConnectionGroup
Get-AppvClientPackage -all | Remove-AppvClientPackage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment