Reset the language for the folder names inside the Mailbox

The names of the folders can be changed at any time, at your discretion, from your client program.

Some clients (for example, Outlook 2000 or older) do not allow the names of certain standard folders (for example, the Inbox) to be changed, but this is a client restriction and not an intrinsic limitation of Exchange. In these cases, you must use a different client (such as the older Exchange client) to modify the folder names.

Outlook 2002 clients can run a command line switch to rename the default folders to the language of the client. To do this, click Start, click Run, and then type Outlook.exe /resetfoldernames. Outlook will start normally and the default folder names will be in the language of the client.

With Outlook 2002 and the CIW or CMW you might want to reset folder names for all users when you deploy Outlook to synchronize users' folder names to the User Interface Language of their version of Outlook. This could be useful, for example, if a corporate-wide process has initialized new mailboxes before new users have started Outlook for the first time. In this case, the mailboxes will end up with default folders in the language of the server. (Note that users can, instead, specify the /resetfoldernames option on the Outlook.exe command line to synchronize the folder names on their computer.)

To reset folder names when deploying Outlook, perform the following steps:

  1. In the Custom Installation Wizard, go to the Add/Remove Registry Entries page.
  2. Click Add to add a registry entry for ResetFolderNames.
  3. On the Add/Modify Registry Entry page, select or type the following:
    1. Under Root:, click to select HKEY_CURRENT_USER.
    2. Under Data type:, click to select Dword.
    3. In the Key: field, type Software/Microsoft/Office/10.0/Outlook/Setup.
    4. In the Value name: field, type ResetFolderNames.
    5. In the Value data: field, type 1.

    Any non-zero value will cause Outlook to synchronize the user's folder names to the User Interface Language of Outlook.

  4. Click OK to save the entry.

Сбор статистики использования Mailbox MS Exchange 2003

Вот скрипт который собирает статистику и отправляет её на почту:

Для его запуска необходим PowerShell

$filename = "c:\scripts\ServerName{0:yyyyMMdd-HHmm}.csv" -f (Get-Date)

Get-WmiObject -ComputerName ServerName -Namespace root\MicrosoftExchangeV2 -Class Exchange_Mailbox | sort size -desc | Select MailboxDisplayName, Size, TotalItems | select -First 100 | Export-Csv -Path $filename

$smtpServer = "localhost"

$msg = new-object Net.Mail.MailMessage

$att = new-object Net.Mail.Attachment($filename)

$smtp = new-object Net.Mail.SmtpClient($smtpServer)

$msg.From = "admin_xixi@mail.ru"

$msg.To.Add("mailboxsize@mail.local")

$msg.Subject = "mailboxses size ServerName.mail.local"

$msg.Body = "Exel CSV FILE"

$msg.Attachments.Add($att)

$smtp.Send($msg)

Всё что нужно для статистики по использованию MAILBOX

Get-MailboxStatistics -Database | export-csv -path c:\MB.csv

Get-MailboxStatistics -Identity USER | select LastLogoffTime,MailboxGUID,ItemCount

Список полей:

AssociatedItemCount
DeletedItemCount
DisconnectDate
DisplayName
ItemCount
LastLoggedOnUserAccount
LastLogoffTime
LastLogonTime
LegacyDN
MailboxGuid
ObjectClass
StorageLimitStatus
TotalDeletedItemSize
TotalItemSize
Database
ServerName
StorageGroupName
DatabaseName
Identity
IsValid
OriginatingServer

Remove disconnected Mailbox Exchange 2007 ( V 2.0 release)

Для одного:

Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Remove-Mailbox -Database <Database-Name> -StoreMailboxIdentity <MailboxGuid> -confirm:$false

Для пачки:

$users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid,Database

$users | ForEach { Remove-Mailbox -Database $_.Database -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Удаление отключенных MailBox Exchange 2007 ( version 1.1)

$users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

$users | ForEach { Remove-Mailbox -Database "Mailbox Database" -StoreMailboxIdentity $_.MailboxGuid -confirm:$false }

Удаление отключенных MAILBOX-ов

Power Shell

Для блокирование любого из аккаунтов: Disable-mailbox user@domain.com

Для удаления майлбокса : Remove-Mailbox -Database <Database-Name> ; Clean-mailboxdatabase -identity "<server name>\<storage group name>\<mailbox database name>"

Для нахождения GUID: Get-MailboxStatistics -server <server name> | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Для уделения всех отключенных : $users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid ; $users = Get-MailboxStatistics | where-object { $_.DisconnectDate -ne $null } | Select DisplayName,MailboxGuid

Автомонтирование новых томов Windows 2003 Server R2

mountvol /?

Creates, deletes, or lists a volume mount point.

MOUNTVOL [drive:]path VolumeName

MOUNTVOL [drive:]path /D

MOUNTVOL [drive:]path /L

MOUNTVOL [drive:]path /P

MOUNTVOL /R

MOUNTVOL /N

MOUNTVOL /E

 

path Specifies the existing NTFS directory where the mount

point will reside.

VolumeName Specifies the volume name that is the target of the mount

point.

/D Removes the volume mount point from the specified directory.

/L Lists the mounted volume name for the specified directory.

/P Removes the volume mount point from the specified directory,

dismounts the volume, and makes the volume not mountable.

You can make the volume mountable again by creating a volume

mount point.

/R Removes volume mount point directories and registry settings

for volumes that are no longer in the system.

/N Disables automatic mounting of new volumes.

/E Re-enables automatic mounting of new volumes.

HOW TO AutoConfig sets ISX: Sessions Timeout

http://onlineappsdba.blogspot.com/2008/06/how-autoconfig-sets-icx-session-timeout.html

Настройка Symantec Backup Exec Remote Agent Linux для Oracle

В данной статье я не буду писать как настроить BE Remote Agent for linux (RALUS) Вся информация по его настройке находится в документации... :) Но я расскажу Вам некоторые хитрости в его настройке Как известно ./AgentConfig желательно запускать из под пользователя root. Но при настройке "Select an Oracle instance to configure" возникают ошибки: Validating credentials....... This user account does not have the privileges that are required to log on to the Oracle database Лечим: Накидываем переменные окружения инстанса ORACLE . /DBTier/10.2.0/PROD_oradb.env Пробуем tnsping PROD TNS Ping Utility for Linux: Version 10.2.0.3.0 - Production on 07-APR-2009 10:35:35 Copyright (c) 1997, 2006, Oracle. All rights reserved. Used parameter files: /u01/oraprod/proddb/10.2.0/network/admin/PROD_oradb/sqlnet_ifile.ora Все окей ? Переходим к настройкам агента :) Так же рекомендую чуточку изменить стартовый скрипт ралуса vim /etc/init.d/VRTSralus.init echo -n "Starting Symantec Backup Exec Remote Agent " . /u01/oraprod/proddb/10.2.0/PROD_oradb.env ============================================================================= Это решение так-же лечит ошибку когда Media Server видит DB как down state...

Создание запроса на сертификат для MS exchange 2007

New-ExchangeCertificate -GenerateRequest -SubjectName "DC=company, dc=org, dc=ua, o=mail.company.org.ua" -DomainName mail.company.org.ua, smtp.company.org.ua, pop3.company.org.ua, imap.company.org.ua, autodiscover.company.org.ua, company.org.ua, hub1.сompany.org.ua, hub2.company.org.ua, hub1, hub2 -FriendlyName "Microsoft Exchange 2007" -Path c:\mail.req В моем случае это актуально для серверов с ролями HUB/CAS