Param ( [string]$dc = "adc.amico.com",
[string]$exchange = "mail.amico.com" __________________________________________________ Stefan Jafs From: Michael B. Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 14:41 To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption How did you update your DC and Exchange server variables? Regards, Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com From: Stefan Jafs [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 2:34 PM To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Thanks, now it runs but with the following error: PS C:\temp> c:\temp\mailbox.ps1 Mailbox name Mailbox size Item count Deleted s ize =============================================================================== === An exception was thrown when trying to enumerate the collection: "A referral wa s returned from the server. ". At C:\temp\mailbox.ps1:94 char:8 + foreach <<<< ($kid in $domain.psbase.children) =============================================================================== === 0 mailboxes 0 KB 0 0 KB PS C:\temp> __________________________________________________ Stefan Jafs From: Campbell, Rob [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 14:30 To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption You'll need to run that command on any new installation of PowerShell before it will run scripts from the command line. ________________________________ From: Stefan Jafs [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 1:24 PM To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Thanks, that did it. __________________________________________________ Stefan Jafs From: Campbell, Rob [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 14:20 To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Run this: Set-executionpolicy remotesigned ________________________________ From: Stefan Jafs [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 1:16 PM To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Now it tells me that the execution of scripts is disabled on this system and to run "get-help about signing" __________________________________________________ Stefan Jafs From: Campbell, Rob [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 14:13 To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption You have to dot-source (pre-pend ./) to run. eg. ./mailbox.ps1 Within the Powershell command window this also works for any file type that has a Windows association set. Running ./file.txt will open up file.txt in Notepad (if it exists), running ./file.csv will open file.csv in Excel, etc. ________________________________ From: Stefan Jafs [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 1:06 PM To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Michael I try to run it and get the following error: PS C:\temp> mailbox.ps1 The term 'mailbox.ps1' is not recognized as a cmdlet, function, operable program, o r script file. Verify the term and try again. At line:1 char:7 + mailbox <<<< Any ideas __________________________________________________ Stefan Jafs From: Michael B. Smith [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 09:55 To: MS-Exchange Admin Issues Subject: RE: Tracking disk space consumption Wrappage: <http://theessentialexchange.com/blogs/michael/archive/2007/11/13/a-script-for-getting-mailbox-sizes-using-wmi-in-powershell.aspx> You can easily turn that into a CSV instead of a report and compare/contrast in Access or Excel. Regards, Michael B. Smith MCSE/Exchange MVP http://TheEssentialExchange.com From: Clayton Doige [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 30, 2008 9:21 AM To: MS-Exchange Admin Issues Subject: Re: Tracking disk space consumption That was the option I was hoping to avoid lol On 30/01/2008, Pierre Plamondon <[EMAIL PROTECTED]> wrote: Hi, you can make a printscreen of the exchange manager system (mailbox by size) at the end of each day and compare. It is probably not the best way but you can find your space disk. Pierre ________________________________ De : Doige, Clayton [mailto:[EMAIL PROTECTED] Envoyé : 30 janvier 2008 03:54 À : MS-Exchange Admin Issues Objet : Tracking disk space consumption Dear all, the partition that our mdb files live in is consistently reducing in free space by about 2 GB a day. Short of looking at mailbox sizes on a daily basis, and seeing a day to day delta for each mailbox, is there a way to work out where the disk space is going? E2K3 SP2 Thanks in advance Clayton Doige IT Project Manager CME Development Corporation T: 020 7430 5355 M: 07949 255062 E:[EMAIL PROTECTED] W:www.cetv-net.com <http://www.cetv-net.com/> ______________________________________________________________________ This electronic mail message and any attached files contain information intended for the exclusive use of the person(s) to whom it is addressed and may contain information that is proprietary, privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any viewing, copying, disclosure or distribution of this message or its contents may be subject to legal restriction or sanction. If you have received this message in error, please notify the sender immediately by electronic mail and delete the original message and any attachments without retaining any copies. _____________________________________________________________________ -- Regards, Clayton [EMAIL PROTECTED] http://alsipius.com This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of Amico Corporation . Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. ************************************************************************************************** Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. ************************************************************************************************** This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of Amico Corporation . Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. ************************************************************************************************** Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. ************************************************************************************************** This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of Amico Corporation . Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. ************************************************************************************************** Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. ************************************************************************************************** This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of Amico Corporation . Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. This email and any attached files are confidential and intended solely for the intended recipient(s). If you are not the named recipient you should not read, distribute, copy or alter this email. Any views or opinions expressed in this email are those of the author and do not represent those of the Amico Corpoartion company. Warning: Although precautions have been taken to make sure no viruses are present in this email, the company cannot accept responsibility for any loss or damage that arise from the use of this email or attachments. ~ Ninja Email Security with Cloudmark Spam Engine Gets Image Spam ~ ~ http://www.sunbeltsoftware.com/Ninja ~