You have a SharePoint Server 2010 Service Pack 1 (SP1) server farm. The farm contains two web
applications named WebApp1 and WebApp2. WebApp1 contains one site collection. The site
collection contains 300 sites. WebApp2 is used to host personal sites. You need to prevent the site
collection in WebApp1 from containing more than 100 GB of data. Which Windows PowerShell
cmdlet should you use?
A.
Set-SPUsageService
B.
Set-SPTimerJob
C.
Enable-SPTimerJob
D.
New-SPWebApplication
E.
Set-SPDiagnosticConfig
F.
Enable-SPHealthAnalysisRule
G.
Remove-SPUsageApplication
H.
Set-SPAlternateURL
I.
New-SPWebApplicationExtension
J.
Set-SPSite
K.
Set-SPWeb
L.
Set-SPContentDatabase
M.
Set-SPLogLevel
N.
Install-SPApplicationContent
Explanation:
: Set-SPSite -MaxSize :
MaxSize Parameter
Optional
System.Int32
Sets the maximum storage size for the site collection in megabytes.
The integer value must be larger than the WarningSize value. You cannot use this parameter if the
site collection is using a quota template.
——————EXAMPLE 2———————
Set-SPSite –identity “http://sitename” -MaxSize 4000000 -WarningSize 2000000
This example configures the Quota settings for the site collection http://sitename.
http://technet.microsoft.com/en-us/library/ff607958.aspx