Prev | Current Page 45 | Next

Joezer Cookey-Gam, Brendan Keane, Jeffrey Rosen, and Jonathan Runyon

"Professional Windows PowerShell for Exchange Server 2007 Service Pack 1"


To use tab expansion when typing a cmdlet name, simply type the verb name followed by the hyphen,
then the first few letters of the noun name. When you press the Tab key, Windows PowerShell
automatically expands what you entered to the first matching cmdlet name. If there are other possible
matches, pressing the Tab key repeatedly cycles through the available choices. Pressing the Tab key
while holding down the Shift key causes Windows PowerShell to cycle backwards through the available
choices. The more characters you enter before pressing the Tab key make the search more specific and
narrows the number of possible matches.
For example, say you need to run the cmdlet Get-MailboxFolderStatistics . This cmdlet is useful
for determining the size and number of items in given mailbox folders. Using tab expansion you can
enter this long cmdlet name with no mistakes and a minimal number of keystrokes using the following
procedure:
1. Type get-ma and press the Tab key. This expands to Get-Mailbox . Notice the name
automatically changes to the standard form of uppercase first letters.
2. Now press the Tab key a second time. This time the cmdlet name expands to
Get-MailboxCalendarSettings .
3. Press the Tab key again and the name expands to Get-MailboxDatabase .
4. Press the Tab key one last time to expand the name to Get-MailboxFolderStatistics .


Pages:
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
Kąty Rybackie noclegi trener nlp ceny żywca leczenie alkoholizmu Kołobrzeg