Posts Tagged: csv
-
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 =...
-
Jul 26, 2010
2 CommentsHow to get servers’ DNS settings exported to CSV in Powershell
This script will let you query servers on your domain network for DNS server settings and return them in the CSV file. Script takes text file containing server names: server1 server2 server3 and returns CSV file with Hostname, DNS Servers, IP Addresses settings Get-Content .\servers.txt | ` ForEach-Object { Get-WMIObject Win32_NetworkAdapterConfiguration -Computername $_ | `...
