One of my customers asked for a ‘self service tool’ for their users to remove Microsoft APP-V pkg files from their profiles. Because there’s no direct relation between the registry values and the location of the pkg files I had to be creative with a search within this script:
A small disclaimer: Powershell and scripting is not my day to day work so it’s possible that this script has a couple of flaws. I did a lot of copy/pasting from a couple of blogs and MS posts but feel free to use this script. It’s a draft version thus I can’t guarantee that this will work but in my test environment it does. If you have additional comments just drop a comment so I can optimize this script.
Latest posts by Kees Baggerman (see all)
- VM Reporting Script for Nutanix AHV with Powershell - March 19, 2019
- Reporting vGPU enabled VMs on AHV - March 13, 2019
- Automating Citrix PVS on Nutanix AHV with PoSH v2 - March 5, 2019
- Nutanix AHV and Citrix MCS: Adding a persistent disk via Powershell - March 4, 2019
- Creating a VM incl a vGPU profile on AHV with Powershell - March 1, 2019