GPRESULT In Windows Server 2008

Microsoft have made a small change to the Windows Server 2003 GPRESULT command.

In windows 2003 we had to type GPRESULT only in the command line in order to view the Applied Group polices however in windows server 2008 we need to type the /R switch after the gpresult.

The windows Server 2008 the full GPRESULT command is:

gpresult /s

there are other switches to the command which are:

s <Computer> Specifies the name or IP address of a remote computer. Do not use backslashes. The default is the local computer.
/u [<Domain>\]<UserName> Runs the command with the credentials of the specified user. The default user is the user who is logged on to the computer that issues the command.
/p [<Password>] Specifies the password of the user account that is provided in the /u parameter. If /p is omitted, gpresult prompts for the password. /p cannot be used with /x or /h.
/user [<TargetDomain>\]<TargetUser> Specifies the remote user whose RSoP data is to be displayed.
/scope {user | computer} Displays RSoP data for either the user or the computer. If /scope is omitted, gpresult displays RSoP data for both the userand the computer.
[/x | /h] <FileName> Saves the report in either XML (/x) or HTML (/h) format at the location and with the file name specified by the FileName parameter. Cannot be used with /u, /p, /r, /v, or /z.
/f Forces gpresult to overwrite the file name specified in the /x or /h option.
/r Displays RSoP summary data.
/v Displays verbose policy information, including additional detailed settings that have been applied with a precedence of 1.
/z Displays all available information about Group Policy, including detailed settings that have been applied with a precedence of 1 and higher.
/? Displays help at the command prompt.

For more information see:

http://technet.microsoft.com/en-us/library/cc733160.aspx

View Exchange 2007 Users Mailbox Size

In order to view all users mailboxes size in Exchange 2007 in one list like Exchange 2003 Server we need to use the Exchange Managment Shell.

View all the users mailbox size:

1. Go to Exchange Managment Shell amd type:

get-mailboxstatistics | fl displayname,totalitemsize

 To view other mailboxes information type:

get-mailboxstatistics 

Allow local servers to relay through Exchange 2003 /2000

To enable a local server relay mail through exchange server we need to add the local server to the Exchange server allowed relay servers list.

To add a server to the Relay list:

Open Exchange system Manger – > Administrative tools –> First administrative group -> Server -> Click on the Exchange server -> Protocols -> SMTP -> Right Click on Default SMTP Virtual Server -> Properties -> click on Access Tab – > click on Relay button -> Add the server to the “only the list below” list.