
Part IPowerShell for Exchange FundamentalsChapter 1: Getting Started with Windows PowerShellChapter 2: Using Exchange Management ShellChapter 3: Using
Part I: PowerShell for Exchange Fundamentals10 The Get verb is the most common verb used in Exchange Management Shell cmdlets. It is also known as
Chapter 1: Getting Started with Windows PowerShell11 In Figure 1 - 4 , the Set-Mailbox cmdlet is being used to set the ProhibitSendQuota attrib
Part I: PowerShell for Exchange Fundamentals12 For example, the Get-Service cmdlet is used to gather information about services and supports wildcar
Chapter 1: Getting Started with Windows PowerShell13 Optional and Required Parameters Cmdlets may have some parameters that are not required to be u
Part I: PowerShell for Exchange Fundamentals14 For example, the Identity parameter is typically a positional parameter used in position 1 after the
Chapter 1: Getting Started with Windows PowerShell15 The solution is to provide enough of the parameter name to make it unique, in this case posta w
Part I: PowerShell for Exchange Fundamentals16 In this example for Get-Help and for those that follow later in this section, input values are used
Chapter 1: Getting Started with Windows PowerShell17 The other possible role values you can use with the Role parameter are: *client* for Client
Part I: PowerShell for Exchange Fundamentals18cannot be used in conjunction with either the Verb or Noun parameters. In Figure 1 - 14 , Get
Chapter 1: Getting Started with Windows PowerShell19 Get-Command can also be used to return detailed information about the syntax of a given cmdlet
c01.indd 2c01.indd 2 12/17/07 3:19:23 PM12/17/07 3:19:23 PM
Part I: PowerShell for Exchange Fundamentals20 The command Get-Help < cmdlet name > -Full displays the entire contents of the help file for
Chapter 1: Getting Started with Windows PowerShell21 Parameter details describe whether the parameter is required or optional and if it is positional
Part I: PowerShell for Exchange Fundamentals22 Most shells offer some form of automatic completion to take some of the drudgery and guesswork out of e
Chapter 1: Getting Started with Windows PowerShell23 Using this procedure you can enter complex, mistake - free cmdlet names using a minimal number of
Part I: PowerShell for Exchange Fundamentals24collection to the Set-User cmdlet along with the appropriate value for the Fax parameter you can cha
Chapter 1: Getting Started with Windows PowerShell25 The value to test must be of the same data type of the property being tested. For example, if the
Part I: PowerShell for Exchange Fundamentals26 Controlling Output When you run a cmdlet in Windows PowerShell, the type of data displayed as output,
Chapter 1: Getting Started with Windows PowerShell27 Format - List In the previous example Get-Mailbox displayed only those properties specified a
Part I: PowerShell for Exchange Fundamentals28 Format - Table Format-Table (and its alias, ft ) is similar to Format-List except it allows you
Chapter 1: Getting Started with Windows PowerShell29 To change this behavior, add the AutoSize parameter to force Format-Table to change column wi
Getting Started with Windows PowerShell Windows PowerShell is the next - generation command - line shell and scripting language for Wind
Part I: PowerShell for Exchange Fundamentals30 All scripts included with Exchange Server 2007 have been code signed by Microsoft to ensure the scripts
Chapter 1: Getting Started with Windows PowerShell31 Summary Windows PowerShell is the next - generation command - line shell and scripting langu
c01.indd 32c01.indd 32 12/17/07 3:19:32 PM12/17/07 3:19:32 PM
Part I: PowerShell for Exchange Fundamentals4need for an advanced interface like Windows PowerShell. What follows is a discussion of the main features
Chapter 1: Getting Started with Windows PowerShell5 Common Shell Limitations The traditional shells mentioned earlier offer an administrator greater
Part I: PowerShell for Exchange Fundamentals6 Because Windows PowerShell is fully extensible, software developers can create their own custom built -
Chapter 1: Getting Started with Windows PowerShell7 While invoking Windows PowerShell, this command specifies a console definition file identified by
Part I: PowerShell for Exchange Fundamentals8Exchange management. It also defines the appearance of the command - line prompt and the initial welcome
Chapter 1: Getting Started with Windows PowerShell9 Windows PowerShell commands are case - insensitive. The examples given in this section use the de
Komentarze do niniejszej Instrukcji