Monthly Archives: January 2011

Tips: How to use the Exchange Control Panel easily

In order to provide the services for the Exchange Organization, we use the Web application “Exchange Control Panel” on a Client Access Server. If you install a Client Access Server, the Exchange Control Panel will be automatically installed. If you want to manage Exchange from anywhere, you have to enter the URL path for the application in your browser’s Address field. Then, you can access the Exchange Control Panel. The default Exchange Control Panel URL is https://yourserver.yourdomain.com/ecp.

The Client Access server to which you connect processes your remote actions via the ECP application running on the default Web site. “%ExchangeInstallPath%\ClientAccess\Ecp”(without quotes) is the physical directory for this application. This command runs in the context of an application pool named MSExchangeECPAppPool. You can view the web.config file that implies the settings for the ECP application in the %ExchangeInstallPath%\ClientAccess\Ecp directory on your server.

Continue reading

Tips: How to manage Exchange Control Panel from a Command-Line using the Cmdlets

As you know, managing the Exchange Control Panel application using the Internet Information Services (IIS) Manager or the Exchange Management Shell is so easy now. Now, let’s discuss about the related commands for the Exchange Management Shell.
The first command is: get-eCpVirtualdirectory
This is used to display the information about the Exchange Control Panel application running on the Web Server providing services for Exchange.
Get-ECPVirtualDirectory [-Identity AppName]

new-eCpVirtualdirectory
This command is able to create a new Exchange Control Panel application running on the Web server services for Exchange. We can use this command only for troubleshooting purposes in which we need removing and re-creating the Exchange Control Panel virtual directory.
New-ECPVirtualDirectory [-AppPoolId AppPoolName]

Continue reading

Troubleshoot: My Aero Peek feature has stopped working

Aero Peek is one of the most excellent features of the Windows 7 Operating System. If it is not working, you can troubleshoot it easily without changing the settings manually. Now, let’s discuss about troubleshooting the Aero Peek feature.

•    First, please click on the Start button and select Control Panel.
•    Now, select System and Security in the Control Panel.
•    In the Control Panel, select System as shown in the image.
Continue reading

Tips: How to use the Gmail account to send and receive mails in Hotmail

If you’re looking to send and receive e-mails from your Hotmail account using any other e-mail accounts like Gmail or Yahoo, go through this article and follow the steps provided.
Now, let’s go to the steps.
•    First, log in to your Hotmail account.
•    Click on the icon (looks like a gear wheel) of the Inbox option on the left side.

•    Now, select the “Get e-mail from another account” option as shown on the below image.

Continue reading

Discussion: How to script Database Objects in PowerShell

??Recovering from the unexpected disasters is one of the most important tasks of a DBA. Usually, the “Backup and restore” is the best option often chosen for recovery, scripting the database schema. More often, a user drops a stored procedure or change a view by mistake and you don’t wish to restore the entire database just to get back a single piece of code. Using the PowerShell, it is easy to script all the objects in the database manually. Moreover, you can schedule the scripting anytime as you like and you can do it for as many of your servers as you like.
Now, let’s discuss about scripting all the tables in a database. This step is about connecting to a database and navigates to the “tables” node.
>cd SQL:\SQLServer\localhost\default\databases\MyDB\Tables
Now, we have successfully connected to the tables node we can script all of the objects.
Dir | %{$_.Script()}
Now, let me explain the code. The code is about pulling a list of tables with the “dir” command. If you wish to use “gci”, you can use it. Then, we can pipe ‘|’ the results of that command to the foreach loop command. Here, the “%” is the alias foreach command. Everything in the foreach (%) loop is surrounded by the double brackets {}. If you’re in the foreach construct, you call the script method for each object encountered. Now, the ‘$_’ is the built-in iteration variable in PowerShell. Each of the iterations of the foreach loop, the ‘$_’ represents the one currently in the loop.

Continue reading