Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This option is obviously very useful when testing and debugging WuInstall scripts or when running WuInstall with a scheduled job or on remote machines.

Logfile variables:

  • $RCC$ - Use this variable in the logfile name to include the current rebootcycle count in the filename. This variable is only suggested in combination with the /rebootcycle option
  • $DATETIME$ - Use this variable in the logfile name to include the current date and time in the filename.


Examples:

 WUInstall.exe /search /logfile "c:\data\$DATETIME$_WuInstallLog.txt" 

Resulting logfile name is: 2018-05-28_09_43_45_WuInstallLog.txt

 WUInstall.exe /install /rebootcycle 3 /logfile "c:\data\$RCC$_WuInstallLog.txt"

Resulting logfile name is: 3_WuInstallLog.txt → 2_WuInstallLog.txt → 1_WuInstallLog.txt


This variables can also be used with all other log and xml options.

/logfile_append file-to-log

...