HOWTO: Deploy script via Trend Micro OfficeScan (GPO)

How to deploy script on Trend Micro OfficeScan (GPO) Product : Trend Micro OfficeScan Version : All Script :CheckAnyInstallExists IF EXIST “%PROGRAMFILES(X86)%\Trend Micro\OfficeScan Client\www” (GOTO END) ELSE (GOTO SETUP_OSAgent) GOTO END :SETUP_OSAgent msiexec.exe /i “\\domain.local\NETLOGON\\TM_OS\TM_OS_MSI.msi” /quiet /qn GOTO END :END

HOWTO: Delete all hidden .swp files from terminal

E325: ATTENTION Found a swap file by the name “.swp” owned by: subhrcho dated: Wed Dec 26 05:54:45 2012 file name: ~subhrcho/ modified: YES user name: subhrcho host name: slc04lyo process ID: 26176 While opening file “.vimrc” dated: Mon Jan 28 22:45:16 2013 NEWER than swap file! (1) Another program may be editing the same file. If this is the case, be careful not to end up with two different instances of the same file when making changes. Quit, or continue with caution. (2) An edit session for this file crashed. If this is the case, use “:recover” or “vim -r ” to recover the changes (see “:help recovery”). If you did this already, delete the swap file “.swp” to avoid this message. Swap file “.swp” already exists! find . -type f -name “.*.swp” -exec rm -f {} \;