Office 365 - Windows PowerShell for SharePoint Online

Office 365 PowerShell for SharePoint Online

 

1. Get-SPOTenantLogEntry 并不能获取所有的Log信息,只能用于获取因外部资源而出错的log信息,比如 BCS错误,详情请见此页

The Get-SPOTenantLogEntry cmdlet cannot retrieve all SharePoint Online errors. This cmdlet retrieves a subset of errors that happen due to external systems.
For Beta 2, the only company logs available are for Business Connectivity Services (BCS).

2. Set-SPOSiteGroup 可以用来设置一个 user group 的属性,但是在设置Group的Owner 时,需要注意:如果将一个 user group设置为另一个user group的 owner时,需要使用user group的 User principal name,而不是alias,详情可参考此页

Set-SPOSiteGroup -Site https://contoso.sharepoint.com -Identity "NewGroup" -Owner <UPN>

3. Set-SPOSite 命令可用于设置一个site的属性,但是,在设置一个site的 ResourceQuota 属性时,新值不能低于 Resource Quota Warning Level,否则会报错;Resource Quota Warning Level 默认情况下和创建站点时设置的 Server Resource Quota 值相同,会随着 Resource Quota值的增加而增加,因此,将 Resource Quota设置为一个小于当前值的数字时,需要使用以下命令:

Set-SPOSite -Identity https://contoso.sharepoint.com/sites/site1  -ResourceQuota 150 -ResourceQuotaWarningLevel 150

4. 

 

转载于:https://www.cnblogs.com/qijiage/p/5249790.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值