This script will go through and clear all AppV 5 packages then resync with a Streaming/Publishing server and then download the package locally to the server.
:: ===========================================================================================================
::
:: Created by: Saman Salehian
:: Intel Server Team
:: IBM Canada Ltd.
::
:: Creation Date: Oct 16, 2012
:: Modified Date: Feb 25, 2013 -- Saman Salehian & Trentent Tye - Added load all applications sequentially - App-V 5
::
:: File Name: AppV_Data_PreCache.cmd
::
:: Description: Pre-Cache App-V Applications/Packages on XenApp Server
::
:: ===========================================================================================================
@ECHO OFF
CLS
================================================================================
:: Load all applications sequentially - App-V 5
:: ================================================================================
IF EXIST %SYSTEMROOT%\SysWOW64\notepad.exe (
>Appv5ClientRefresh-01.ps1 ECHO.
>>Appv5ClientRefresh-01.ps1 ECHO Import-Module AppVClient
>>Appv5ClientRefresh-01.ps1 ECHO Remove-AppvClientPackage *
>>Appv5ClientRefresh-01.ps1 ECHO Get-AppVPublishingServer ^| Sync-AppvPublishingServer
>>Appv5ClientRefresh-01.ps1 ECHO Mount-AppvClientPackage *
"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" Set-ExecutionPolicy Unrestricted
"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" .\Appv5ClientRefresh-01.ps1
"%SystemRoot%\system32\WindowsPowerShell\v1.0\powershell.exe" Set-ExecutionPolicy Restricted
DEL /F /Q Appv5ClientRefresh-01.ps1 >NUL
)
oracle golden gate training
ReplyDeletedata science training
python training
angular js training
selenium trainings
Aivivu đại lý vé máy bay, tham khảo
ReplyDeletevé máy bay đi Mỹ giá bao nhiêu
hướng dẫn đi máy bay từ mỹ về việt nam
lịch bay từ canada về việt nam
lịch bay từ nhật về việt nam hôm nay
mua vé máy bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về Việt Nam
khách sạn cách ly tphcm
ve may bay chuyen gia nuoc ngoai