remove Folder C:\Program Files\Microsoft\Exchange Server\V15\Logging\lodctr_backups after Installation of Exchange or an CU upgrade to free up disk space
Archiv für den Monat: April 2015
remove ETL traces of Exchange search engine
cd $exbin
forfiles /P Search\Ceres\Diagnostics\ETLTraces /M *.etl /C „cmd /c del @path“ /D -1
Limit Diagnostic-Service logs
Edit the Microsoft.Exchange.Diagnostics.Service.exe.config file in the bin folder by adding the following line in the appSettings area:
<add key=“MaxDailyPerformancelogDirectorySize“ value=“1024″/>
or lower <add key=“MaxDailyPerformancelogDirectorySize“ value=“512″/>
The value is the maximum space consumed for daily performance logs, in megabytes.
Then restart the MSExchangeDiagnostics service for the change to take effect.
forfiles (remove old logs)
forfiles /P C:\inetpub\logs /S /M *.log /C „cmd /c del @path“ /D -1
use with parameter in cmd
forfiles /P %1 /S /M %2 /C „cmd /c del @path“ /D %3
=logRollover.cmd „C:\inetpub\logs“ „*.log“ -1
Must know Office 365 PowerShell commands – TechSultan
Many enterprise migrated to cloud services, especially for email management. Office 365 is one of them, maybe most popular Exchange online solution. If you migrated to Office 365, there is a little adminitrative panel which offer you minimal possibility.
Real administrative tasks are on PowerShell side, it’s hard to find commands and how to operate them, so here a list of must know Office 365 PowerShell commands :