Exchange MaxSend and MaxReceive Size

Exchange MaxSend and MaxReceive Size Limits Set-Mailbox Identity John Smith MaxSendSize 10mb MaxReceiveSize 10mb 602 Solution 2 0 64 Delete old files Batch script to delete old files:

batch file script 'deloldfiles.cmd' below. Syntax would be:

deloldfiles numdays filepath filespec

eg deloldfiles 30 c:\temp *.*

---------

@echo off
if "%1" == "" goto error
if "%2" == "" goto error
if "%3" == "" goto error

echo.
echo Deleting %3 files %1 or more days old from %2
echo.
forfiles /p %2 /s /m %3 /d -%1 /c "cmd /c del @path"
goto end

:error
echo.
echo Deletes files older than nn days
echo Syntax: DELOLD nn path filespec
echo.

: