Get-SPOTenant
返回 SharePoint Online 组织属性。
语法
Default (默认值)
Get-SPOTenant
[-ShowDetails]
[<CommonParameters>]
说明
cmdlet Get-SPOTenant 返回组织级别的网站集属性,例如 StorageQuota、StorageQuotaAllocated、ResourceQuota、ResourceQuotaAllocated 和 SiteCreationMode。
目前,此 cmdlet 没有参数。
您必须是 SharePoint Online 管理员才能运行 cmdlet。
有关适用于 SharePoint Online 的 Windows PowerShell 的权限和最新信息,请参阅在线文档简介 SharePoint Online 命令行管理程序的简介。
示例
示例 1
Get-SPOTenant
此示例返回组织级别的网站集属性,例如 StorageQuota、StorageQuotaAllocated、ResourceQuota、ResourceQuotaAllocated、SiteCreationMode 和 OneDriveStorageQuota。
参数
-ShowDetails
适用:SharePoint Online
是否显示每个设置的详细属性。
参数属性
| 类型: | System.Management.Automation.SwitchParameter |
| 默认值: | None |
| 支持通配符: | False |
| 不显示: | False |
参数集
(All)
| Position: | Named |
| 必需: | False |
| 来自管道的值: | False |
| 来自管道的值(按属性名称): | False |
| 来自剩余参数的值: | False |
CommonParameters
此 cmdlet 支持通用参数:-Debug、-ErrorAction、-ErrorVariable、-InformationAction、-InformationVariable、-OutBuffer、-OutVariable、-PipelineVariable、-ProgressAction、-Verbose、-WarningAction 和 -WarningVariable。 有关详细信息,请参阅 about_CommonParameters。