Tuesday, July 24, 2012
Monday, July 23, 2012
Commands (ipconfig, gpupdate/force, ipconfig/all etc.) are not working in Command Prompt on Windows7
This issue occurs normally when your PATH environment variable is not set correctly. SO you have to follow below steps to resolve it;
1. In a command prompt window, type
echo %path%
This should display the PATH environment variable. In particular, it should have the directories path added C:\Windows\system32 and C:\Windows in it. If it doesn't, this is your problem.
To fix it, do this:
1. Right-click Computer and select Properties.
2. Click the Advanced system settings link on the left.
3. Click the Environment variables button.
4. Find Path in the System variables list box and click the Edit button.
5. Add those two directories, C:\Windows\system32 and C:\Windows separated by a semicolon and terminated by a semicolon, at the front of the path environment variable.
6. OK out of everything.
Now it should fix your issue & enjoy.
it should look like as shown in below fig;
1. In a command prompt window, type
echo %path%
This should display the PATH environment variable. In particular, it should have the directories path added C:\Windows\system32 and C:\Windows in it. If it doesn't, this is your problem.
To fix it, do this:
1. Right-click Computer and select Properties.
2. Click the Advanced system settings link on the left.
3. Click the Environment variables button.
4. Find Path in the System variables list box and click the Edit button.
5. Add those two directories, C:\Windows\system32 and C:\Windows separated by a semicolon and terminated by a semicolon, at the front of the path environment variable.
6. OK out of everything.
Now it should fix your issue & enjoy.
it should look like as shown in below fig;
Thursday, June 28, 2012
Exchange 2010 Mailbox Items Restore Issues
In Items restoration settings in Symantec 2010 Backup Exec. above shown settings selected.
http://www.symantec.com/business/support/index?page=content&id=TECH139027&actp=search&viewlocale=en_US&searchid=1340879044403
http://www.symantec.com/connect/forums/problem-doing-redirected-exchange-restore-using-grt
http://www.symantec.com/business/support/index?page=content&id=TECH68938&actp=search&viewlocale=en_US&searchid=1340872899917
Wednesday, June 27, 2012
How to hide hard drives in Windows XP/Vista/7
If you want to learn how to hide hard drives in Windows XP/Vista/7 then you've come to the right place. This article explains how to achieve just that.
If you have sensitive or important data stored on a particular disk drive that you don’t want anyone to see, a great way to hide it is to remove the drive letter assigned to a particular mounted volume. With Windows XP, Windows Vista and Windows 7 you can hide hard drives easily using nothing more than the Command Prompt. Here's how:
- Click Start >> Run (This brings up the Run dialog box)
- Type cmd and press Enter (This brings up the Windows Command Prompt)
- Type diskpart in the command prompt and press Enter (This launches the Diskpart utility within the Command Prompt window)
- Now type list volume (This displays a list of all mounted volumes on your computer and their associated drive letters)
- Now type remove letter E (Note: This sometime requires a reboot)
Diskpart will now remove the drive letter. The drive will no longer be available via Windows Explorer or My Computer.
Don’t worry though, your data remains safe!
Now, should you want to unhide the drive and make it accessible again, just repeat the above process. But instead of typing remove letter E, type assign letter E
By following the simple process above you will easily learn how to hide hard drives in Windows XP/Vista/7
If you have sensitive or important data stored on a particular disk drive that you don’t want anyone to see, a great way to hide it is to remove the drive letter assigned to a particular mounted volume. With Windows XP, Windows Vista and Windows 7 you can hide hard drives easily using nothing more than the Command Prompt. Here's how:
- Click Start >> Run (This brings up the Run dialog box)
- Type cmd and press Enter (This brings up the Windows Command Prompt)
- Type diskpart in the command prompt and press Enter (This launches the Diskpart utility within the Command Prompt window)
- Now type list volume (This displays a list of all mounted volumes on your computer and their associated drive letters)
- Using the above picture as reference, if, for example, you would like to hide drive E, type select volume 6
- Now type remove letter E (Note: This sometime requires a reboot)
Diskpart will now remove the drive letter. The drive will no longer be available via Windows Explorer or My Computer.
Don’t worry though, your data remains safe!
Now, should you want to unhide the drive and make it accessible again, just repeat the above process. But instead of typing remove letter E, type assign letter E
By following the simple process above you will easily learn how to hide hard drives in Windows XP/Vista/7
Friday, June 22, 2012
To check all the mailbox size on a particular Database & export to CSV file on Exchange2010 server
Step 1:
Open “Exchange Management Shell”.
Step 2:
Use one of the following commands:
To Check all the mailbox size with the no. of Items in mailbox with Send/Receive attachment size in a particular DB & export the report to CSV file, run below mentioned command in EMS;
[PS] C:\Windows\system32>Get-Mailbox -Database "Database Name" | sort-object | Select-Object name,alias,servername,Prohibi
tSendQuota,IssueWarningQuota,MaxReceiveSize,MaxSendSize,DisplayName,Database,PrimarySmtpAddress,ProhibitSendReceiveQuota
,@{n="Size(KB)";e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.totalItemsize}},@{n="Items"; e = {$MBXstat = Get
-MailboxStatistics $_.name ; $MBXstat.itemcount; $MBXstat.storageLimitStatus}} | Export-Csv C:\output.csv
Get-Mailbox -Database "Mailbox Database 2048287781" | sort-object | Select-Object name,alias,servername,ProhibitSendQuota,IssueWarningQuota,MaxReceiveSize,MaxSendSize,DisplayName,Database,PrimarySmtpAddress,ProhibitSendReceiveQuota,@{n="Size(KB)";e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.totalItemsize}},@{n="Items"; e = {$MBXstat = Get-MailboxStatistics $_.name ; $MBXstat.itemcount; $MBXstat.storageLimitStatus}} | Export-Csv C:\output.csv
For Example:
Get-Mailbox -Database "DefaultMailboxDB" | sort-object | Select-Object name,alias,servername,ProhibitSendQuota,IssueWarningQuota,MaxReceiveSize,MaxSendSize,DisplayName,Database,PrimarySmtpAddress,ProhibitSendReceiveQuota,@{n="Size(KB)";e = {$MBXstat = Get-MailboxStatistics $_.name; $MBXstat.totalItemsize}},@{n="Items"; e = {$MBXstat = Get-MailboxStatistics $_.name ; $MBXstat.itemcount; $MBXstat.storageLimitStatus}} | Export-Csv C:\DefaultDBMailbox.csv
Report mailboxes size in the entire Exchange organization:
Get-Mailbox | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:\mailboxessize.csv
Report mailboxes size in a specific Exchange server:
Get-Mailbox -server servername | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox -server servername | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:\mailboxessize.csv
Report mailboxes size in a specific Exchange server database:
Get-Mailbox -server -database "Mailbox Database 0154525136" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox -server -database "Mailbox Database 0154525136" | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:\mailboxessize.csv
Note: You can obtain the database name by using the command: Get-MailboxDatabase
Report specific mailbox size:
Get-Mailbox myaliasname | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount
Get-Mailbox myaliasname | Get-MailboxStatistics | Sort totalitemsize -desc | ft displayname, totalitemsize, itemcount | Export-CSV C:\mailboxessize.csv
Note: Instead of using “myaliasname”, you can use the “Display Name” attribute of the mailbox.
Thanks to Yuval for wonderfull blog with Tips;
http://blogs.microsoft.co.il/blogs/yuval14/archive/2011/06/08/exchange-2010-mailbox-size-report.aspx
http://social.technet.microsoft.com/Forums/pl-PL/exchange2010/thread/82d5d38a-0c13-4c16-b1b0-9999c00d354d
Thanks to Yuval for wonderfull blog with Tips;
http://blogs.microsoft.co.il/blogs/yuval14/archive/2011/06/08/exchange-2010-mailbox-size-report.aspx
http://social.technet.microsoft.com/Forums/pl-PL/exchange2010/thread/82d5d38a-0c13-4c16-b1b0-9999c00d354d
Wednesday, June 20, 2012
How to Easily Export Message Tracking Results in Exchange Server 2007 OR 2010
To track messages like how many mails SEND OR Receive from specific mailbox, we can track
it by running the below command in EMS & export it to .csv file;
Below command is for Receive only, if we want to track for send then we have to change
from "RECEIVE" to "SEND"
get-messagetrackinglog -Sender "anand.sunka@domain.com" -EventID "RECEIVE" -Start
"6/1/2012 3:59:00 PM" -End "6/20/2012 4:09:00 PM" | Select timestamp, eventid, Source,
Messageid, MessageSubject, sender, {$._recipients}, clientip, clienthostname, serverip,
serverhostname, messageinfo | export-csv c:\MsgTrack.csv
Below are the links :
http://blogs.technet.com/b/exchange/archive/2008/12/01/3406581.aspx
http://mouzzamh.wordpress.com/
Subscribe to:
Posts (Atom)


























