The solution is to provide the input value in
the correct format, in this case 2GB to specify a ProhibitSendQuota value of 2,147,483,648 bytes.
Figure 1-4
Single - word string values can be entered as is, but string values that contain multiple words with spaces
must be encapsulated in single or double quotes. Some parameters take as input multiple values. Each
value must be separated by commas. When entering multiple string values with spaces, encapsulate
each value in quotes, and separate each value with commas.
In Figure 1 - 5 , the Set-User cmdlet is being used to set the multi - valued attribute OtherHomePhone with
two separate string values that both contain spaces.
Figure 1-5
Some parameters support wildcards as input. Windows PowerShell handles wildcard matching so all
cmdlets that accept wildcard input behave the same way. The most commonly known wildcard you will
find useful is the asterisk or star (*). The asterisk wildcard can be used to stand for zero or more
characters in a string.
Part I: PowerShell for Exchange Fundamentals
12
For example, the Get-Service cmdlet is used to gather information about services and supports
wildcards for the Name parameter used to identify those services. Using the asterisk wildcard you can
generate a list of all services with names that match the given pattern, as shown in Figure 1 - 6 for services
that begin with Net .
Pages:
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43