#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#
# Make sure to go through below "
# - This readme is put under <root>/sample/laptop_uxsp_package_acquire.txt
# - <root> is where OneCLI zip package is extracted to
#
# This is a sample script of running OneCLI to acquire usxp package for specific mt and os
# from Lenovo eSupport.
# (See "global.config" on how to do this for a supported IBM system )
#By default, ToolsCenter Suite CLI only goes to Lenovo for update package acquisition.
#To manage old MTM, you can change the "ACQUIRE_REPOSITORY" to point ToolsCenter Suite CLI 
#to both IBM and Lenovo for update package acquisition.
#Valid options:
#None - goes to Lenovo only (default behavior)
#BOTH - goes to both Lenovo and IBM
#ACQUIRE_REPOSITORY=BOTH
# See command below for how to update acquire 
# See in user's guide for more details of command line options and adavanced features
# Product home page: https://support.lenovo.com/us/en/documents/lnvo-tcli
#::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::#
sample command: 
(1) Acquire uxsp packages:
OneCli.exe update acquire --mt 5464 --ostype rhel7 --dir ./pkg
(2) Acquire latest packages
OneCli.exe update acquire --mt 5464 --ostype rhel7 --scope latest --dir ./pkg
(3) Acquire xml only:
OneCli.exe update acquire --mt 5464 --ostype rhel7 --metaonly
(4) Acquire individual package:
OneCli.exe update acquire --scope individual --includeid qlgc-lnvgy_dd_fc_qla2xxx-8.07.00.42.o_rhel7_x86-64