SharePoint2016和OneDrive集成。 [英] SharePoint2016 and OneDrive Integration.

查看:246
本文介绍了SharePoint2016和OneDrive集成。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



实验室设置:SharePoint2016(内部部署) )环境:



1。是否有任何PowerShell命令或配置可用于MySite和OneDrive for Business的保留策略。



2。是否有任何PowerShell命令可以在浏览器级别为站点强制执行会话超时。已经尝试过以下提到的链接

然而那些没有帮助




https://gallery.technet.microsoft.com/office/How-to-change-the-session-566ba208#content


PS C:\ Users \ adminmin。test> $ SPSite = Get-SPSite(" http:// testsite:19510 / sites / siteTest")


PS C:\ Users \ administrator.test> $ webApp = $ SPSite.WebApplicationPS C:\ Users \ Administrator;


test > $ webApp.Enabled = $ true


在此对象上找不到属性"已启用"。验证该属性是否存在且可以设置。


在行:1 char:1

+ $ webApp.Enabled = $ true

+ ~~~~~~~~~~~~~~~~~~~~~~~~
     ; + CategoryInfo         :InvalidOperation:(:) [],RuntimeException

     + FullyQualifiedErrorId: PropertyAssignmentException

解决方案


以下有关PowerShell的文章供您参考。


SharePoint 2016:在OneDrive文档上实施保留策略


https://blogs.msdn.microsoft.com/spses/2018/02/20/sharepoint- 2016强制保留政策onedrive文档/


在SharePoint Server本地环境中设置OneDrive for Business


https:/ /docs.microsoft.com/en-us/sharepoint/sites/set-up-onedrive-for-business


最好的问候,


Dennis


Hi,

Lab Setup: SharePoint2016 (On-premise) Environment:

1. Is there any PowerShell command or configuration available for retention policy for MySite and OneDrive for Business.

2. Is there any PowerShell command to enforce session time-out at browser level for sites. Already tried steps on the below mentioned link however those did not help:

https://gallery.technet.microsoft.com/office/How-to-change-the-session-566ba208#content

PS C:\Users\administrator.test> $SPSite = Get-SPSite("http://testsite:19510/sites/siteTest")

PS C:\Users\administrator.test> $webApp = $SPSite.WebApplicationPS C:\Users\administrator

.test> $webApp.Enabled = $true

The property 'Enabled' cannot be found on this object. Verify that the property exists and can be set.

At line:1 char:1
+ $webApp.Enabled = $true
+ ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyAssignmentException

解决方案

Hi,

The following articles with PowerShell for your reference.

SharePoint 2016 : Enforcing Retention policy on OneDrive Documents

https://blogs.msdn.microsoft.com/spses/2018/02/20/sharepoint-2016-enforcing-retention-policy-on-onedrive-documents/

Set up OneDrive for Business in a SharePoint Server on-premises environment

https://docs.microsoft.com/en-us/sharepoint/sites/set-up-onedrive-for-business

Best Regards,

Dennis


这篇关于SharePoint2016和OneDrive集成。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆