Removing all AppV 5.0 sequences at once

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…

 

Comments

One response to “Removing all AppV 5.0 sequences at once”

  1. Thomas Godsted Rysgaard Avatar

    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 to Thomas Godsted Rysgaard Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.