App-v Stand-alone host mass install

Another really quick post today, I have a need to install App-v packages on a stand-alone server in mass. To do this I made a super quick Powershell script to get all of the packages from a network share and install them all in one do for all users of the server.

$path = "\\domain.local\apps\appv\*.appv"

$appvpack = Get-ChildItem -Path "$path" -Recurse

foreach ($appv in $appvpack) {

Add-AppvClientPackage -Path "$appv" | Mount-AppvClientPackage | Publish- AppvClientPackage -Global

Hope this helps someone out.