Scenario/Problem: You want to modify the storage limitations for a site collection.
Solution: Use the Set-SPSite
cmdlet with the MaxSize
and WarningSize
parameters.
Two parameters work together to set the storage limits on a site collection: MaxSize
and WarningSize
. Listing 8.9 shows a sample command line for setting the storage limits.
Set-SPSite -Identity http://sp2013/sites/sitecol -MaxSize 1024
-WarningSize 768
Both parameter values are in megabytes. The MaxSize
parameter can be any integer value but must be greater than or equal to the WarningSize
value. Therefore, the WarningSize
parameter can be any value between zero and the MaxSize
value.
Note
You may not be able to set the storage limits if a quota template is being used for the site collection.
3.129.23.30