Set-SPOGeoStorageQuota

此 cmdlet 设置多地理位置租户的存储配额。

语法

Default (默认值)

Set-SPOGeoStorageQuota
    -GeoLocation <String>
    -StorageQuotaMB <Int64>
    [<CommonParameters>]

说明

此 cmdlet 在特定地理位置设置存储配额(以兆字节为单位)。 此外,它还需要连接到多地理位置租户才能正确运行。 必须至少是 SharePoint Online 管理员才能运行 cmdlet。

示例

示例 1

Set-SPOGeoStorageQuota -GeoLocation EASTUS -StorageQuotaMB 512

将“美国东部”位置的SharePoint Online Storage配额设置为 512 MB。

示例 2

Set-SPOGeoStorageQuota -GeoLocation NORTHCENTRALUS -StorageQuotaMB 1024

美国中北部位置的SharePoint Online Storage配额设置为 1024 MB (1GB) 。

参数

-GeoLocation

适用:SharePoint Online

要设置的所需地理位置。

参数属性

类型:System.String
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

-StorageQuotaMB

适用:SharePoint Online

SharePoint Online Storage配额(以兆字节为单位)。

参数属性

类型:System.Int64
默认值:None
支持通配符:False
不显示:False

参数集

(All)
Position:Named
必需:True
来自管道的值:False
来自管道的值(按属性名称):False
来自剩余参数的值:False

CommonParameters

此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters

输入

None

输出

System.Object