Quick Guide
- Login as target user you would like the App-V packaged to be published too.
- Start a elevated powershell console, switch directories to the location of the App-V package and run the "AddAndPublish-AppvClientPackageToSID.ps1" script.
- When the script runs, you will be prompted to select a target user.
Here is a greenshot of it in action. Note the logged in user, the PowerShell context and menu selection for targeting. Sorry about the crappy screenshot, ITNinja downgrading it.
Things to note.
- The user must be logged on!
- Works with multiple App-V packages with or without UserConfig XML's.
Will only work with a single App-V package in the directory - not coded for multiple yet. - Works with local, domain and switched users.
- Should work with Terminal Services
The disclaimer:
Not my fault if it blows up your computer, or turns you into a zombie.
Not my fault if it blows up your computer, or turns you into a zombie.
Edit Log
11/11/2016: Initial release.
18/11/2016: FIXED: Bug, even though a user has logged off its still counted as a Active Session. Will fix this soon.
23/12/2016: Updated script with a better function to detect active sessions, added support for multiple packages.
07/04/2022: Added support for packages with Deployment Configuration and User Configuration XML.
22/05/2023: Updated self-identity discovery to use .Net method. Fixed missing leading zero's padding when user selection is greater than nine.
Comments