Powershell & cmdlet – In a Nutshell – Part 8 – Configure deleted mailbox retention using Set-Mailboxdatabase cmdlet

Now we’ll discuss how to configure the deleted mailbox retention period in Exchange Server 2007 Run the following command in Exchange Management shell,Set-MailboxDatabase dbName -MailboxRetention 32.00:00:00Here,dbname – specifies database name, 32.00:00:00 – specifies the retention period, i.e., the number of days, hours, minutes, and seconds required for it. By default, deleted mailboxes are retained for 30 days before they…

1

sample

sample


Powershell & cmdlet – In a Nutshell – Part 7 – Configure the Pickup directory using Set-TransportServer cmdlet

Find the small article which talks about how to configure the pickup directory in Exchange Server 2007.  Exchange Server 2007 & configuring Pickup directory: Its’ quite interesting to configure the pickup directory in Exchange Server 2007 environment. As we know that the Pickup directory is used by administrators for mail flow testing, or by applications that…

1

TNEF & Winmail.dat

Issue with TNEF: The use of TNEF is commonly affected by settings in Outlook that are referred to as “Microsoft Outlook Rich Text Format.” Rich Text Format and TNEF are not exactly the same, but they are closely related.A TNEF-encoded message contains a plain text version of the message, and a binary attachment that “packages”…

2

Creating MailBox Store programatically

I have found this wonderful piece of code(Visual Basic 6.0), used to create mailbox store. ‘//////////////////////////////////////////////////////////////////////////////////’// Name:       CreateNewMailboxStoreDB’// Purpose:    To create a new Mailbox Store (MDB) with a given name’// Input:      strMDBName            = contains the name of the new MDB to be created’//             blnMount                    = True if the new MDB will be mounted after creation…

1

Exchange Server 2003 SP2 – API Changes

Microsoft have done changes in Exchange Server 2003 SP2. It includes new DLLs for several key APIs, and includes some key changes in behavior. While Exchange Server 2003 SP2 does not include any changes to the objects, classes, and interfaces, it does introduce key differences in how some of the APIs work. The following API libraries that ship with Exchange Server 2003…

1

Development related technology & feature changes: Exchange Server 2003 & Exchange server 2000

Do you know? MS Exchange 2000 Server application development-related technologies and features were changed in MS Exchange Server 2003. Some technologies were enhanced, while others were removed, or are not supported in specific scenarios. Exchange WMI Provider Changes Active Directory Schema Changes Managed Wrappers for SMTP Server Event Sinks Anti-spam Infrastructure CDO Component Names Did Not Change …

2

Powershell & cmdlet – In a Nutshell – Part 6 – Exchange Management Shell (EMS)

Exchange Management Shell: It’s a new automation and scripting shell. It has the command-line management interface and associated command-line plug-ins for Exchange Server that enable automation of administrative tasks in an Exchange 2007 environment.  It is built on Microsoft Windows PowerShell (“Monad”). With Exchange Management Shell administrators can achieve every aspect of Exchange Server 2007. For example, configure transport agents, SMTP…


Powershell & cmdlet – In a Nutshell – Part 5 – Listing Service Information using Windows Powershell & cmdlet

How to list Service Information using Windows Powershell & cmdlet:  In Exchange Server 2007, Get-Service cmdlet will be used to retrieve information about the services installed on the computer. By default, it will return the results in alphabetical order. (1) Get information about the services installed  Get-Service It will list/get you the information about the service name,…

1

Powershell & cmdlet – In a Nutshell – Part 4 – Verify Autodiscover Service info for Outlook 2007 using "Test-OutlookWebServices" cmdlet

How to verify Autodiscover Service info for Outlook 2007 using “Test-OutlookWebServices” cmdlet: In Exchange Server 2007 environment, to verify the Autodiscover service settings for Outlook and that has Client Access server role installed or not, we can use of “Test-OutlookWebServices cmdlet”. It verifies information for the services like, (1) Availability service (2) Outlook Anywhere (3) Offline Address Book (4) Unified Messaging. The…

5

Powershell & cmdlet – In a Nutshell – Part 3 – Identifying Cmdlet

Identifying Cmdlet:Simple way to recognize the cmdlets by their name format — “a verb and noun separated by a dash (-), such as Get-Help, Get-Process, and Start-Service”   For example, each cmdlet has a help file that you can access by typing: get-help <cmdlet-name> -detailed It will provide detailed view of the cmdlet help file includes…

1

Powershell & cmdlet – In a Nutshell – Part 2 – About Cmdlets

About cmdlets:  After entry of Exchange Server 2007, there is a famous buzzword called “cmdlet” started revolving. In this series, we’ll look some of its features, usage and importance in Exchange Server 2007 environment. What is a cmdlet? A cmdlet, pronounced “command-let”, is the basic unit of Microsoft Shell (codenamed Monad). The Microsoft Shell (Monad)…

1

Powershell & cmdlet – In a Nutshell – Part 1 – Introduction

What is a PowerShell? Windows PowerShell or Powershell or Windows Shell is a new Windows command-line shell (includes an prompt and scripting environment, which can accept and return text) designed for specially system adminis.  Windows Powershell Vs. Classic Shell(s): Windows PowerShell does not process text. Instead, it processes objects based on the .NET platform. Windows PowerShell comes with a…

2