Monday, July 19, 2021

How to access/open virtual environment using powershell/cmd

 I accessed the installed virtual application’s virtual programdata folder using below process.

 

If we directly access the folder , we will get access denied. So we need to follow below process.

 

$AppVName = Get-AppvClientPackage <Package>

Start-AppvVirtualProcess -AppvClientObject $AppVName cmd.exe

 

And it will launch a separate cmd.exe window with access to the virtual environment

No comments:

Post a Comment