A little background…Exchange 2010 management is built completely on top of PowerShell. The Exchange Management Console (EMC) is just a fancy GUI to run powershell commands underneath the covers. While you can get a lot accomplished in the EMC, not all management functions are available in the EMC.
What I want to go over in this post is to learn not only what commands that the GUI is running in the background, but also how to reference past commands that have been executed.
First let’s focus on the Exchange Management Shell (EMS):
This section is not to tell you how to use the EMS, just some tips to on using the EMS to reference past commands.
- Keyboard Command: F2 – Enables a pop-up screen with your last command that was run and ask to enter in a character. Powershell will then create a new command using the last entered command up to the character specified.
- Keyboard Command: F7 – Enables a pop-up screen with the last 50 commands used in the current session and allows you to select a command to reuse.
- Keyboard Command: F8 – Moves backward through the command history
- Keyboard Command: Up/Down – Moves up and down through the history of previous commands
Now let’s focus on what is available in the Exchange Management Console (EMC):
There are three main ways to see what PowerShell commands are being run or have been run.
- Modifying Properties – When modifying properties in a dialog box, a powershell icon will light up. When selected you can see exactly what command will be run when you click “apply”.
- Performing an action – When performing an action like a mailbox move or creating a connector, the command will be displayed that was used to perform that action.
- Viewing the EMS Log – by selecting “View Exchange Management Shell Command Log…” from the EMC View menu, you can view a history of commands that have been run since the session was created.
Hopefully the tips above will help facilitate learning powershell commands for Exchange so reliance on the EMC is not necessary.
adidas football soldes
ReplyDeletecoach factory outlet
cheap ray bans
nike sale
michael kors outlet
moncler online
reebok
fitflops sale clearance
canada goose jackets
canada goose jackets
Given article is very helpful and very useful for my admin, and pardon me permission to share articles here hopefully helped :
ReplyDeleteCara mengatasi gatal di sela sela jari
Obat eksim basah paling ampuh
Make money from a variety of betting games.
ReplyDeleteลําดับไพ่ใหญ่สุด ป๊อกเด้ง
บาคาร่า คาสิโนสด
สมัครบาคาร่า sa
Thank you for your interest.
Hi....
ReplyDeleteType powershell into the Taskbar search field. Select Run as Administrator from the list of options in the right panel of the results list. Open the Command Prompt, type powershell, and hit Enter. Type start-process PowerShell -verb runas and press Enter.
You are also read more Instant Loan App India