Acronis acronis snap deploy 3 マニュアル

ページ / 103
 
98                                                                                                                            © Acronis, Inc 
 
net use %TMP_DRV_LETTER% %IMG_PATH% 
echo off 
for /f "tokens=1-13 delims= " %%a in ('ipconfig /all') do ( 
IF %%a EQU Physical ( 
for /f "tokens=1-3 delims= " %%a in ('echo %%l') do ( 
echo IMAGE FILE: %%a.tib 
asdcmd.exe /create /filename:%TMP_DRV_LETTER%\%%a.tib /harddisk:1 
/compression:8 
goto end 



:end 
echo on 
net use %TMP_DRV_LETTER% /d 
wpeutil Reboot 
endlocal 
 
What this script does:  
 
Mounts the shared folder  
Retrieves the booted computer’s MAC address.  
Generates a TIB file name (if MAC address is 01-02-03-04-05-06 then the TIB file name must be 01-
02-03-04-05-06.tib.)  
Images partition C of the computer to the shared folder using the generated file name.  
[OPTIONAL] Reboots or shutdowns the computer.