ich hab vor kurzem erst unseren Empirum Server mti R2 neuinstalliert. Wir verwendeten vorher 3 EPE´s - quasi für jeden Standort sein eigenes mit den jeweiligen Einstellungen darin (IP,Installationsserver, usw)
vor kurzem bin ich durch zufall auf den aufruf der PXEImgChange im Sync Template gestoßen! Unsere Subdepots (2) laufen tadellos, und nun würde ich gerne die geschichte PXEImgChange zum laufen bringen.
ich habe schon einiges darüber gelesen aber irgendwie will mir das ganze noch nicht ganz eingehen. oder sitze ich so auf der leitung ?!?
Code: Select all
@ECHO OFF
rem Frank Dethlefsen, Senior Consultant, matrix42 AG, 26.08.2007 13:51:54
rem Mathias Behr, matrix42 AG, added filter for hw_live, 25.07.2008 11:12:22
rem Mathias Behr, matrix42 AG, corrected filter line for hw_live, 23.10.2008
rem Frank Langel, matrix42 AG, add winpe2.wim Images, 04.11.2008
DIR "\\%Computername%\EmpInst$\Wizard\Image\PXEImages\*.gz" /B /S /A:-D > "%TEMP%\temp.txt"
DIR "\\%Computername%\EmpInst$\Wizard\Image\PXEImages\*.img" /B /S /A:-D >> "%TEMP%\temp.txt"
DIR "\\%Computername%\EmpInst$\Wizard\Image\PXEImages\*.wim" /B /S /A:-D >> "%TEMP%\temp.txt"
type "%TEMP%\temp.txt" | FIND /V /I "hw_live" > %TEMP%\PXE-Images.txt
FOR /F %%I IN (%TEMP%\PXE-Images.txt) do Call PxeImgchange.exe "%%I" -a
DEL "%TEMP%\PXE-Images.txt"
DEL "%TEMP%\temp.txt"
EXIT
Code: Select all
Syntax:
Legacy mode (may not longer be supported in future versions):
PXEImgChange.exe PxeImage.img {IP_Address Computername
{wg workgroup|dom domName PDC PDC_IP}
|/a |/anologondomain
} |/nw NWTree NWServerIp NWServerName NWContext NW
Path
Recommended mode:
PXEImgChange.exe PxeImage.img [-a|-anologondomain] [-option value]
Options:
-PXEClientIP - IP address of the server (detected by -a)
-ClientServerName - Name of the Empirum server (detected by -a)
-ClientServerIP - IP address of the Empirum server (detected by -a)
-ClientLogonDomain - NT Domain of the Empirum server (detected by -a but not
by -anologondomain)
-ClientDomainPDCIP - IP address of the Primary Domain Controller (detected b
y -a)
-ClientDomainPDCName - Name of the Primary Domain Controller (detected by -a)
-ClientUser - User name to login (cannot be detected)
-ClientPassword - Encrypted password to login (cannot be detected).
Please note that a correct encrypted password cannot
be written in commandline.
-ClientNWTree - Netware tree of the server (all Netware related paramet
ers cannot be auto detected)
-ClientNWServerIP - IP of the Netware server
-ClientNWServerName - Name of the Netware server
-ClientNWContext - Netware context of the server
-ClientNWPath - Netware path to the Empinst directory (e.g. SYS:\Empiru
m\EMPINST)
-ParamIniFile inifile.ini Loads the parameters from an ini file. The paramet
er names are
the same as above. The parameters has to be in the [Parameters] section
Because a parameter can be specified more than once, following priorty rules app
ly:
- Parameters written in the command line have topmost priority
- Automatically detected values have smallest priorty
kann mir da mal wer einen geistigen anstoß geben und sich auf meine leitung stellen ?
lg lang