Archive for October, 2010
-
Oct 31, 2010
No CommentsSend email with folder sizes report in CSV from Powershell
We’ve recently rolled out Folder Redirection and although we haven’t implemended quotas we wanted to be able to monitor the amount of space redirected folders are using on the server. Following script generates the report in CSV format: Name | Size(MB) | Path and sends it to email address. ReportUserFoldersSize.ps1: $path = "Path_To_Folders_Root" $EmailFrom =...
-
Oct 27, 2010
No CommentsSend email with Exchange mailbox statistics in CSV from Powershell
Would you like to receive weekly email from your Exchange server with mailbox statistics attached in a CSV file? Script below will generate CSV file with the following format: Name | ItemCount | Size | DeletedItemCount | DeletedItemsSize | MailboxDatabase and email it to address specified. ReportMailboxSizes.ps1: $EmailFrom = "from_address" $EmailTo = "to_address" $EmailSubject =...
-
Oct 24, 2010
No CommentsGenerate XML from MySQL in PHP
In this tutorial we will generate an XML file from the data stored in MySQL database. As an example we will use a database table storing UK National Lottery Lotto draw results and we will generate an XML file that contains last 2 draw’s results. This is pretty easy to do and will give you...
