Quantcast
Channel: Ivanti User Community: Message List
Viewing all articles
Browse latest Browse all 12704

Re: Multiple-package batch distro installation question

$
0
0

Add this to your batch file but of course change %Your_core_server% to your core server name :

set LDC=C:\Program Files\LANDesk\LDClient

set LDC64=C:\Program Files (x86)\LANDesk\LDClient

 

if %PROCESSOR_ARCHITECTURE% ==AMD64 (

  ECHO RUN INVENTORY SCAN x64

  CD "%LDC%"

  LDISCN32.EXE /NTT=%Your_core_server%:5007 /S="%Your_core_server%" /I=HTTP://%Your_core_server%/ldlogon/ldappl3.ldz /NOUI /NOCD /F /SYNC

  ECHO %ERRORLEVEL%

  sdclient.exe /msg=Inventory64_ERRORLEVEL_is_%ERRORLEVEL%

) else (

  ECHO RUN INVENTORY SCAN x32

  CD "%LDC%"

  LDISCN32.EXE /NTT=%Your_core_server%:5007 /S="%Your_core_server%" /I=HTTP://%Your_core_server%/ldlogon/ldappl3.ldz /NOUI /NOCD /F /SYNC

  ECHO %ERRORLEVEL%

  sdclient.exe /msg=Inventory_ERRORLEVEL_is_%ERRORLEVEL%

  )


Viewing all articles
Browse latest Browse all 12704

Trending Articles