Monthly Archives: January 2009

Penge tilbage i registreringsafgift

Fik brev fra Skat igår med at folketinget havde lavet en ny måde at udregne registreringsafgiften på, så udfra dette havde jeg næsten betalt 7000 for meget, så de kommer lige retur, og da vi fik penge fra vores sofa tilbage over i Bilka, har vi nu 10.000 til at købe sofa for, så det er jo bare dejligt.

Exchange 2003 and powershell

Have you ever need a list of yours mailbox and the size of it. You can find this in system manager, but you cannot export this list.
With Powershell you can get a list that you example can import in excel.
First you need to download and install powershell, you can download powershell from here:
http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx

After you have downloaded and install it, type this command in the powershell

get-wmiobject -class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName servername | select-object MailboxDisplayName,TotalItems,Size

Change “servername” to you servers name example exchange01

Exchange 2003 and 75GB datastore

With exchange 2003 SP2, the database store in Exchange is increase to 75GB, this is not setup automatic.
You have to change something in the registry database.

To set the size of the private mail store

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To modify the private mail store size, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Limit in GB, and then press ENTER.
  5. Right-click the new entry and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 75. This is the new maximum size of your database in gigabytes.
  7. Click OK.
  8. Close Regedit.

Next you maybe want to get a warning when the database is almost at the limit, this can be setup this way:
To set the size of the buffer

  1. Click Start, click Run, type regedit, and then click OK. Regedit starts.
  2. Browse to HKEY_LOCAL_MACHINE/ System/ CurrentControlSet/ Services/ MSExchangeIS/ ServerName, where ServerName is the name of your server that is running Windows SBS.
  3. To set a buffer size for the private mail store, right-click the Private-GUID folder, click New, and then click DWORD Value.
  4. Type Database Size Buffer in Percentage, and press ENTER.
  5. Right-click the new value and then click Modify.
  6. In the Base field, click Decimal. In the Value data text box, type a number between 1 and 100. A value of 10, for example, results in warning events being logged when the database has 10 percent capacity remaining.
  7. Click OK.
  8. Close Regedit.