How to Learn Server Roles of Exchange server 2010 using PowerShell

Actually this kind of scripts are useful for helpdesk. Because they are required to fix user’s problem and sometimes it is really hard to find a user in EMC if you have big environment

you can write scripts and save them in a folder in Exchange server and they can be used if required. you don’t have write each time same scripts for daily basis jobs.

open new text document

image

and save it s3.ps1 and then open Exchange Server PowerShell and run this command

.s3.ps1 –server Server1

Result;

Retrieving info from server: Server1

Name       : Server1
Fqdn       : Server1.sonat.local
ServerRole : Mailbox, ClientAccess, UnifiedMessaging, HubTransport
Edition    : Enterprise

 

mailbox on server1

Name                                           ServerName                                     Database
—-                                                ———-                                             ——–
Administrator                                 server1                                              DB1

Sonat YAYLALI                                server1                                              DB1

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: