Thursday, November 19, 2009

DSA.MSC in Windows 7

To install dsa.msc on Windows 7 do following steps:-

1- Go to Control panel
2- go to Program and Features
3- and click "Turn windows features on or off"
4- ON the pop up windows expands "Remote Server administration Tools"
5- the click and expands "Role Administration Tools"
6- Ckeck the box "AD DS and AD LDS Tools" and click "OK"
Check administrative Tools in the program menu and Clcik AD option you want..

or type Dsa.msc on Run press enter.

Tuesday, November 17, 2009

Exchange 2007 Management Tools On a 32-Bit Operating System

When you try to install the Exchange 2007 Management Tools on a 32-bit operating system such as Windows XP SP2 or Windows Server 2003 machine, you got an error message:

"The image file D:\Setup.EXE is valid, but is for a machine type other than the current machine."

The reason for this error is because the Exchange 2007 setup require Windows Server 2003/2007 64-bit Edition to initiated the Setup.

The solution to this problem is to install the 32-bit version of the Exchange 2007 Management Tools instead.

1.Download 32 Bit Microsoft Exchange 2007 installation files Exchange Server 2007 - Evaluation Software.
2.Extract the installation file.
3.Install the following pre-requirements components:
•Microsoft .NET Framework Version 2.0
•Microsoft .NET Framework Update Required
•Microsoft Management Console 3.0 for Windows XP (KB907265)
•Microsoft Management Console 3.0 for Windows Server 2003 (KB907265)
•Windows PowerShell 1.0 English-Language Installation Package for Windows XP (KB926139)
•Windows PowerShell 1.0 English-Language Installation Package for Windows Server 2003 (KB926139)
1.Run "setup.exe" from the root of the folder from stage 2 on Windows Server 2003 SP1 (Standard or Enterprise Editions), Windows Server 2003 R2 (Standard or Enterprise Editions), or Windows XP Professional SP2.
2.Click on "Step 4: Install Microsoft Exchange" and click on the "Next" button.
3.Click to select the checkbox "I accept the terms in the license agreement".
4.Click on the "Next" button twice.
5.Choose " Custom Exchange Server Installation" and click on the "Next" button.
6.Mark the checkbox "Management Tools" and click on the "Next" button.
7.Enter the Exchange Organization name (if it did not get auto completed by the installation wizard) and click on the "Next" button.
8.Press on "Finish" button.

Exchange 2007 : Common Shell commands

Here are some common command used in exchange server 2007:-


Help
get-help
get-help verb/noun -detailed

User Objects
get-user sort-object name
get-user Measure-Object
get-user sort-object name -descending
get-user "name" format-list
get-user where-object {$_.distinguishedname -ilike '*ou=sales,dc=domain,dc=com'} Enable-mailbox -database 'servername\databasename'
get-user -filter {(recipienttype - eq 'user') - and (city -eq 'cityname')}

Recipients
enable-mailuser -identity name -externalemailaddress name@domain.com
enable-mailbox "displayname" -database "storagegroup\database"
set-mailbox name -hiddenfromaddresslistsenabled $true/$false -prohibitsendquota unlimited -primarysmtpaddress "name@domain.com"
new-mailbox -userprincipalname "name@domain.com" -alias name -database "name" -name name -organizationalunit name -Firstname name -lastname name -displayname "first last"
get-mailbox -database "server\database"
move-mailbox name -targetdatabase "server\database"
add-mailboxpermission name -user name -accessrights fullaccess
new-distributiongroup -name "name" -organizationalunit "name" -samacccountname "name" -type "security"
set-distributiongroup name -hiddenfromaddresslist $true
new-mailcontact -name "display name" -externalsmtpaddress "name@domain.com" -organizationalunit contractors
set-contact "name" -company "name"
enable-mailcontact "name" -externalemailaddress "name@domain.com"
get-mailboxstatistics "username" format-list
get-mailboxstatistics -server "name" format-list
get-mailboxstatistics -server "name" sort-object -property totalitemsize

Meeting Resources
new-mailbox -userprincipalname "name@domain.com" -alias name -database "name" -name name -organizationalunit name -displayname "name" -room/-equipment
set-mailboxcalendarsettings name -automateProcessings autoaccept
set-mailboxcalendarsettings name -resourcedelegate name

Mail Store
get-mailboxdatabase -server name set-mailboxdatabase -issuewarningquota 100mb -prohibitsendquota 100mb
mount-database databasename
dismount-database databasename
new-storagegroup name -server name
new-mailboxdatabase name -storagegroup name

Public Folders
new-publicfolder name -server name
set-publicfolder \name -replicas "server\database","server2\database2"
get-publicfolder \name
set-publicfolderdatabase "server\database" -usecustomreferralserverlist $true/$false -publicfolderreferralserverlist $null
get-publicfolderstatistics
enable-mailpublicfolder -i "\foldername"

Transport
new-accepteddomain -name "name" -domainname name.domain.com -domaintype authoritative
new-emailaddresspolicy -name "name" -includedrecipients allrecipients -conditionaldepartment "departmentname" -enabledemailaddresstemplate: "SMTP:%g.%s@mkt.adatum.com","%g.%s@adatum.com"
set-emailaddresspolicy "name" -Priority #
get-emailaddresspolicy
update-emailaddresspolicy "policyname"
get-queue
freeze-queue
unfreeze-queue

Edge Transport
new-edgesubscription -filename "filelocation"
start-edgesynchronization

Address List
new-addresslist -name "listname" -conditionaldepartment "departmentname" -includedrecipients mailboxusers -container "containername"
update-addresslist "listname"

Testing
test-mailflow
test-owaconnectivity
test-mapiconnectivity
test-servicehealth
test-systemhealth

Autodiscover
new-outlookprovider
get-outlookprovider
set-outlookprovider exch -server "servername"
remove-outlookprovider
new-autodiscovervirtualdirectory
get-autodiscovervirtualdirectory
set-autodiscovervirtualdirectory -externalurl URL -internalurl URL -path "location"

Out of Office
set-mailbox name -externaloofoptions internalonly/external

Outlook Web Access (OWA)
set-owavirtualdirectory -externalurl URL -internalurl URL

Monday, August 3, 2009

Protecting Exchange against Spam

The first thing to consider when implementing an anti-spam package is where to place your anti-spam service. It can be installed as a mail relay (or on your mail relay if you already have one) on a dedicated server or as part of the Firewall services. It can also be installed on your Exchange server.

Catching spam mail before it reaches your Exchange server seems like a good idea at first because it reduces the load on your servers in terms of CPU and database size. However, you would need to train your help desk personnel to fetch quarantined items from the anti-spam server. No anti-spam package can guarantee no false positives, that is e-mails you want to receive that are quarantined by the anti-spam server.

This means that every time someone will not be receiving a promised e-mail from he or she will have grounds for calling up your help desk people asking for them to look for mail items that the anti-spam package stopped.

For small and medium businesses this might not be an option. Their typically overworked IT staff will not want to be dealing with quarantined e-mails. Sometimes IT services are outsourced, further complicating this. So this leaves installing the anti-spam mechanisms on the Exchange server itself. This enables some anti-spam applications to deliver mail tagged as spam to a specified Outlook folder instead of the Inbox. This enables the users should they choose to do so to examine by themselves their e-mail in case they suspect it was wrongly tagged.

To complete this kind of solution I usually create a policy using Exchange System Manager that automatically deletes e-mail from the Junk E-mail folders of the users after seven days so that spam will not crowd the users' mailboxes forever.

Saturday, January 31, 2009

Windows Server 2008 x64 (Hyper V)

Windows Server® 2008 includes Hyper-V (formerly codenamed viridian), a powerful virtualization technology that enables businesses to take advantage of the benefits of virtualization without having to buy third-party software.

The most widely leveraged benefit of virtualization technology is server consolidation, enabling one server to take on the workloads of multiple servers. For example, by consolidating a branch office’s print server, FAX server, Exchange server, and Web server on a single Windows Server, businesses reduce the costs of hardware, maintenance, and staffing.

Hyper-V enables consolidation of a broad range of services ranging from resource-intensive services like Microsoft SQL Server™ to third-party applications that may run on previous versions of Windows® or Linux. In addition to reducing the cost of buying or leasing server hardware, virtualization reduces costs associated with managing server heat, electricity usage, physical space, and maintenance.


To take benefit of Hyper you need :-

Intel VT Processor
AMD V Processor

Tuesday, January 13, 2009

Microsoft OCS 2007

There are different roles in OCS 2007:
* IM Conferencing Server
* Web Conferencing Server
* A/V Conferencing Server
* Audio and video conferencing
* Access Edge Server
* Web Conferencing Edge Server
* A/V Edge Server
* Archiving CDR Server
* Director
* Mediation Server
* Media Gateway

Count