programming4us
 
Applications Server
 

Exchange Server 2013 : The Exchange Management Shell - Verbose PowerShell, Controlling access to Exchange

12/8/2013 6:40:32 PM

Verbose PowerShell

Usually, EMS gets on with whatever you ask it to do and doesn’t give any indication of the processing it performs in the background. You ask for a new mailbox to be created, and it’s created, or some problem occurs that stops the command from executing. If the problem originates with an error introduced by the user, such as an error in syntax or attempting to do something that doesn’t make sense, such as creating a mailbox in a database that doesn’t exist, you can just fix the problem and try again.

Sometimes you need to know exactly what EMS does to help track down a problem, perhaps to provide information to Microsoft support to help them figure out what’s going on in your Exchange deployment. You might just want to know what’s happening when you execute a command. In either case, you can add the /verbose switch to a command to have PowerShell generate details of exactly what it does as it proceeds. Figure 1 shows some of the output when the New-MailboxDatabase cmdlet is used to create a new mailbox database. You can see how EMS validates the context within which it is executing, including checks to locate a global catalog server, validate RBAC authorization, and confirm that the mailbox database doesn’t already exist.

A screen shot showing the kind of information EMS reports when the Verbose switch is used with a command. In this case, all the steps EMS takes when it executes the New-MailboxDatabase cmdlet are displayed.

Figure 1. Examining some verbose PowerShell output

Controlling access to Exchange

EMS is a great way to get work done with Exchange as long as you don’t mind grappling with the command-line interface. If no control were exerted, you could do massive damage to an Exchange organization with EMS, such as selecting all the mailboxes in a database and removing them with a single line of code. Only the people who need to control the full scope of the organization should be able to take such drastic action. Traditionally, control is given through permissions and privileges. Exchange takes a different approach and adopts the RBAC model. All administrators need a solid grounding in RBAC and its implementation in Exchange, and that’s the next subject of discussion.

 
Others
 
- Exchange Server 2013 : Exploring useful EMS examples (part 2) - Creating a report in HTML
- Exchange Server 2013 : Exploring useful EMS examples (part 1) - Outputting a CSV file
- Exchange Server 2013 : The Exchange Management Shell - Active Directory for PowerShell
- Sharepoint 2013 : Customizing a SharePoint Site - Create a Site Column
- Sharepoint 2013 : Use Managed Metadata Navigation in a Publishing Site (part 3) - Configuring a Friendly URL
- Sharepoint 2013 : Use Managed Metadata Navigation in a Publishing Site (part 2) - Editing a Term Set for Navigation in a Site
- Sharepoint 2013 : Use Managed Metadata Navigation in a Publishing Site (part 1) - Choosing a Term Set for Navigation in a Site
- Lync Server 2013 Clients : Mac Client - Navigation and Layout (part 3) - Managing Contacts, IM Features
- Lync Server 2013 Clients : Mac Client - Navigation and Layout (part 2)
- Lync Server 2013 Clients : Mac Client - Navigation and Layout (part 1)
 
 
REVIEW
 
- First look: Apple Watch

- 10 Amazing Tools You Should Be Using with Dropbox

- Sigma 24mm f/1.4 DG HSM Art

- Canon EF11-24mm f/4L USM

- Creative Sound Blaster Roar 2

- Alienware 17 - Dell's Alienware laptops

- Smartwatch : Wellograph

- Xiaomi Redmi 2
 
VIDEO TUTORIAL
 
- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

- How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
 
Popular tags
 
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
 
Top 10
 
- How To Install Android Market & Google Apps On Kindle Fire
- How To Make Ubuntu Look Like Windows 7
- How To Add A New Account in MS Outlook 2013
- Get Android & Mac OS X Style Gadgets For Windows 7 & Windows 8 With XWidget
- How To Activate Microsoft Office 2013
- How To Install Actual Facebook App On Kindle Fire
- How To Create, View And Edit Microsoft Office Files On Kindle Fire
- Download Attractive Business PowerPoint Templates For Free At SlideHunter
- How To Use And Enable Hibernate & Sleep Mode In Windows 8
- How To Get Microsoft Office 2013 Trial Product Key From Microsoft