Setting VSS drive From a command prompt or PowerShell run: vssadmin list shadowstorage To see which drives are configured for VSS Then run: vssadmin add shadowstorage /for=D: /on=V:/maxsize=150GB To set the V-drive as VSS drive for the D-drive and have it use a maximum of 150GB, you can also use /maxsize=50% The command […]
You are browsing archives for
Categorie: Software
Often used commands for Exchange
Simple cheat sheet for Microsoft Exchange: Get user pictures from Exchange: https://webmail.DOMAIN.TLD/ews/exchange.asmx/s/[email protected]&size=HR648x648 Find latest sent or received email: Get-MessageTrackingLog -ResultSize Unlimited -Start “06/16/2017” -Recipients “[email protected]” -EventID DELIVER Get-MessageTrackingLog -ResultSize Unlimited -Start “06/15/2017” -Recipients “[email protected]” -EventID DELIVER To make sure Exchange doesn’t strip the subject, notes and attachments: Get-CalendarProcessing -Identity “RESOURCEMAILBOXNAME” | FL Set-CalendarProcessing -Identity “RESOURCEMAILBOXNAME” […]
Purging the MySQL BIN-LOG
By default MySQL keeps a log of all transactions, if you don’t limit this in “my.cnf” it will keep growing and keep creating “mysql-bin.XXXXX” files. To delete these files and potentially free up lots of disk space do the following: If you are using DirectAdmin first find out the admin user account for MySQL: cat /usr/local/directadmin/conf/mysql.conf […]