在tenantadmin网站中管理网站集 [英] Manage site collections in tenantadmin site

查看:118
本文介绍了在tenantadmin网站中管理网站集的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经通过powershell脚本而不是tenantadmin网站中的管理网站集的新命令创建了网站集.

解决方案

此处是您要去的地方:

http://alexbrassington.com /2014/08/20/creating-sharepoint-site-collection-through-powershell-csom/

#添加使用Office 365所需的dll
添加类型-路径"C:\ Program Files \ Common Files \ microsoft shared \ Web服务器扩展\ 15 \ ISAPI \ Microsoft.SharePoint.Client.dll"
添加类型-路径"C:\ Program Files \ SharePoint联机管理Shell \ Microsoft.Online.SharePoint.PowerShell \ Microsoft.Online.SharePoint.Client.Tenant.dll"
 
#URL和先决条件


adminSiteUrl =<<管理员URL>"


newsiteUrl ="要创建的网站集的URL>

I have created site collections via powershell script instead of the new command of the manage site collections in tenantadmin site. How to make the site collections created to show up in the manage site collections of the tenantadmin?

解决方案

Here you go:

http://alexbrassington.com/2014/08/20/creating-sharepoint-site-collection-through-powershell-csom/

#Add the dlls required for working with Office 365
Add-Type -Path "C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll" 
Add-Type -Path "C:\Program Files\SharePoint Online Management Shell\Microsoft.Online.SharePoint.PowerShell\Microsoft.Online.SharePoint.Client.Tenant.dll"
 
#URLs and prerequisites


adminSiteUrl = "<Admin URL>"


newsiteUrl = "<URL of Site Collection to Create>"


这篇关于在tenantadmin网站中管理网站集的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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