Showing posts with label Exchange 2003. Show all posts
Showing posts with label Exchange 2003. Show all posts

Monday, May 9, 2011

How get user's EAS statistics in Exchange 2003?

Spanish Version

Good morning,

My friends the below script pulls the info about the user's devices statistics (EAS) in your Exchange 2003 organization. The result is stored in an Excel spreadsheet and it is posted in a Sharepoint  site. The way to access this data in  mailbox's hidden folder is webDAV

¿Como sacar estadisticas de usuarios de Exchange Active Sync para Exchange 2003?

English Version

Buenos días,
amig@s acá les dejo un script que saca la info de las sincronizaciones de los dispositivos de cada usuario de Exchange 2003 en tu organización. El resultado lo guarda en una planilla excel y lo postea automaticamante en un Sharepoint. La forma de acceso a esta data que está en una carpeta oculta del buzón es webDAV

Este es el código:

Thursday, May 5, 2011

¿Cómo administrar grupos de distribución con grupos de seguridad en Exchange 2010?

Querid@ amig@ migrador,

Si has migrado desde Exchange 2003 a Exchange 2010, seguramante no has tardado mucho en darte cuenta las quejas de los usuarios acerca de que no pueden modificar los grupos de distribución que podían en el pasado. En Cómo administrar grupos que ya tengo en Exchange 2010?, se vé que en Exchange 2010, los usuarios tenían permisos para crear nuevos grupos de distribución y eliminar los grupos de distribución de su propiedad. Esto ayudó a algunos de sus usuarios, pero algunos todavía no pueden modificar sus grupos de distribución. Tienes que mirar en esto ....

Friday, March 18, 2011

Enabling POP3 and IMAP protocol settings via ADSI (VBScript)

When you install Exchange and create all your mailboxes by default every mailbox will have POP3,IMAP and HTTP protocols enabled. Good practice is if you don't want people to use these protocols is just disable the protocols on the server which makes the user account settings redundant. But this is not always possible and sometimes you need to leave POP3 and IMAP access enabled for some applications or clients. So to stop people using POP3 and IMAP it can be a good idea to disable that protocol on their Active Directory user account

Set objOU = GetObject(ldap://CN=user1,OU=UserH,DC=company,DC=net/)
objOU.PutEx 2, "protocolSettings",ARRAY("HTTP§1§1§§§§§§","OWA§0","MAPI§0§§§§§§§","POP3§1§1§4§ISO-8859-1§0§§§","IMAP4§1§1§4§ISO-8859-1§0§1§0§
0")

objOU.setinfo

-Dario

Thursday, February 10, 2011

How to get the mailbox last logon user and the client in Exchange 2003 & Exchange 2010

Hi all,
here a simple script to get the user last logon information for Exchange 2003 and Exchange 2010:

Exchange 2003:

#$erroractionpreference = "SilentlyContinue"
$user=Import-CSV "c:\serviceMBX.csv"
$report="c:\\ReportSvcMBXLastLogon.csv"

Clear-Content $report
add-content $report "Handle,MailboxDisplayName,LoggedOnUserAccount,LogonTime,ClientMode,ClientVersion,ServerName"


foreach ($usr in $user)
{

$identity= $usr.handle

$script=get-mailbox -identity $identity | select-object legacyExchangeDN,servername

if($error.count -gt 0){
$string ="User " + $identity  + " doesn't exist in AD"
add-content $report -VALUE $string
write-host "User " $identity "  doesn't exist in AD"

$error.clear()
}
else
{
foreach ($u in $script)
{


$legDN=$u.legacyExchangeDN
$serverEx=$u.servername


$lastL=get-wmiobject -class Exchange_logon  -Namespace "root\MicrosoftexchangeV2"  -Computer $serverEx -Filter "MailboxLegacyDN='$legDN'"|select-object  MailboxDisplayName,LoggedOnUserAccount,LogonTime,ClientMode,ClientVersion,ServerName
write-host $legDN
write-host $serverEx
write-host $identity


foreach ($2k3 in $lastL) {
              
               $displN=$2k3.MailboxDisplayName
               $LOnUser=$2k3.LoggedOnUserAccount
               if ($2k3.LogonTime -ne $null) {
                 $LOnTime=[System.Management.ManagementDateTimeConverter]::ToDateTime($2k3.LogonTime)
  }else{
   $LOnTime=$2k3.LogonTime
  }
               $cliMode=$2k3.ClientMode
               $cliVer=$2k3.ClientVersion
              
                        
             
    }

}}
$string=$identity + "," + $displN + "," + $LOnUser + "," + $LOnTime + "," + $cliMode + "," + $cliVer + "," +$serverEx
add-content $report -VALUE $string


}
###### end code

Client Mode:

1=classic

2=Cached

Client Version: 

7.0 = Outlook 97
8.0 = Outlook 98
9.0 = Outlook 2000
10.0 = Outlook 2002
11.0 = Outlook 2003
12.0 = Outlook 2007
14.0 = Outlook 2010 

Exchange 2010:

For last logo user:
For last client connected on the mailbox:



Enjoy!

-Dario