Posts

Showing posts with the label PowerShell

Right Click and Publish App-V Package along with Dynamic Configuration File - Context Menu Shortcut

Image
In my previous blog I had posted about a simple registry tweak to publish packages globally/User by just right clicking and selecting the option. But in that method, it will not use the dynamic configuration file. And so I have covered how to do that in this blog. copy the below code in notepad and save it in .reg format. After saving, double click on it and register the keys. Windows Registry Editor Version 5.00 [ HKEY_CLASSES_ROOT \.appv] @ = "appvex" [ HKEY_CLASSES_ROOT \appvex] [ HKEY_CLASSES_ROOT \appvex\shell] [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally] @ = "&Publish Globally" [ HKEY_CLASSES_ROOT \appvex\shell\Publish Globally\command] @ = "cmd /c start /b /wait powershell.exe -nologo -ExecutionPolicy bypass -file \"c:\\Publish globally.ps1\" \"%1\"" [ HKEY_CLASSES_ROOT \appvex\shell\Publish to User] @ = "Publish to &User" [ HKEY_CLASSES_ROOT \appvex\shell\Publish to User\command] @ = "cmd /c start /...

Powershell to Automate Publishing of Bulk App-V 5.0 or 5.1 packages to a User in a Standalone environment.

In a standalone environment, where there are many App-V 5.0 or App-V 5.1 packages that needs to be published and mounted to a user in order to test the applications, it’s quite hard to open up powershell and type in the commands each time. This is quite time consuming and a repeated job.   With this powershell script, the job can be made easy by publishing these BULK packages. This powershell script code contains commands to ADD the App-V packages along with their respective DeploymentConfig.xml file and Publish them along with their UserConfig.xml file and at last Mount them successfully. User has to first place all the App-V packages in a single folder and then edit the powershell script by giving in the exact folder path.   The powershell code will first load the AppvClient module.   #Import App-V Client Module     Import-Module AppvClient      Next it will enable the execution of scripts present in the dynamic configuration files.  ...

Powershell to Automate Publishing of Bulk App-V 5.0 or 5.1 packages Globally in a Standalone environment

In a standalone environment, where there are many App-V 5.0 or App-V 5.1 packages that needs to be published and mounted in order to test the applications, it’s quite hard to open up powershell and type in the commands each time. This is quite time consuming and a repeated job. With this powershell script, the job can be made easy by publishing these BULK packages. This powershell script code contains commands to ADD the App-V packages along with their respective DeploymentConfig.xml file and Publish them  and at last Mount them successfully. The powershell code will first load the AppvClient module. #Import App-V Client Module Import-Module AppvClient Next it will enable the execution of scripts present in the dynamic configuration files. #Enable execution of scripts Set-AppvClientConfiguration -EnablePackageScripts 1 NOTE: User has to edit the powershell code and give in the exact path where the packages are located. Say example, you have kept all the App-V packages in C:\App-...

Download Microsoft E-books for free

Download Microsoft E-book for free. Including Windows 10, Windows 8.1, Windows 8, Windows 7, Office 2013, Office 365, SharePoint 2013, Dynamics CRM, PowerShell, Exchange Server, Lync 2013, System Center, Azure, Cloud, SQL Server etc. So why wait, Go and grab your own copy. Download Links: Link1 Link2 Link3