Removing all AppV 5.0 sequences at once 1

In AppV 5.0 I couldn’t find an alternative to the SFTMIME REMOVE obj:app /global /complete command I used so much in Softgrid\AppV 4.x. Not even searching for it in my favorite search engine Google. Until just now when I stumbled on the following possibility while trying different PowerShell combinations on the AppV Client.

Keep in mind that you can’t remove sequences that are part of a connection group. So you have to remove connection groups first. Use the command:

Get-AppvClientConnectionGroup -All | Remove-AppvClientConnectionGroup

After removing all the connection groups it is time to remove all the sequences. Use the command:

Get-AppvClientPackage -All | Remove-AppvClientPackage

The only thing I haven’t figured out yet is how to remove all the empty folders that are left in C:\Programdata\AppV\ with PowerShell. And the client doesn’t seem to handle this forceful removal very well seeing that connection groups aren’t automatically republished. Work in progress…

 

One comment on “Removing all AppV 5.0 sequences at once

  1. Reply Thomas Godsted Rysgaard Oct 7,2013 15:20

    I use this:

    Get-AppvClientConnectionGroup -all | Remove-AppvClientConnectionGroup
    Get-AppvClientPackage -all | Remove-AppvClientPackage
    Get-Item “C:\ProgramData\App-V\*” | Remove-Item -Force -Recurse

Leave a Reply