用于创建Page和添加WebParts的Powershell [英] Powershell for creating Page and adding webparts

查看:55
本文介绍了用于创建Page和添加WebParts的Powershell的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Techies,
我有一个网站集,其中包含约250个子网站.

Hello Techies,
I have a site collection which has ~250 subsites.

需要使用预定义的布局为这些子网站创建主页.
就像在页面上添加几个列表视图和CEWP.
需要通过Powershell进行这些操作.

Need to create a home page for these subsites with the predefined layout.
Say like adding a couple of lists views and CEWP on the page.
Need to do these via Powershell.

欣赏您的建议

推荐答案

Hi

请检查这两个示例

https://sharepointryan.com/2011 /07/25/bulk-creation-of-pages-using-powershell/

https://sharepoint.stackexchange.com/questions/91710/is-there-a-way-to-create-site-pages-and-insert-webpart-into-it-via- powershell

如果您需要更多详细信息,请告诉我

let me know if you need more details


这篇关于用于创建Page和添加WebParts的Powershell的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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