如何使用PNP Powershell检索使用Modern和Classic Team网站模板的所有子网站的列表 [英] How to retrieve List of all subsites which are using Modern and Classic Team site template by using PNP Powershell

查看:70
本文介绍了如何使用PNP Powershell检索使用Modern和Classic Team网站模板的所有子网站的列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


Hi All,

Hi All,



我是PNP Power-Shell的新手。我需要从租户获取使用现代团队网站模板和经典团队网站模板的所有SharePoint子网站的列表。

I am new to PNP Power-Shell. I need to get the list of all SharePoint subsite from tenant which are using Modern Team site template and Classic Team site template.



WebTemplate属性返回两种类型网站的STS。

The WebTemplate property is returning STS for both type of site.



有没有办法找到相同的颜色?

Is there any way to find the same?



我已经浏览了以下链接,该链接适用于网站集级别,而不适用于子网站。

I have already gone through the below link which is working for site collection level and not for sub-sites.



http://www.ktskumar.com/2017/10/get-modern-team-communication-sites-using-pnp-powershell/ 

http://www.ktskumar.com/2017/10/get-modern-team-communication-sites-using-pnp-powershell/ 



请建议一些解决方案。

Please suggest some solution.



谢谢 

Thanks 

推荐答案


大家好,

Hi All,



我是PNP Power-Shell的新手。我需要从租户那里获取使用现代团队网站模板和经典团队网站模板的所有SharePoint子网站的列表。

I am new to PNP Power-Shell. I need to get the list of all SharePoint subsite from tenant which are using Modern Team site template and Classic Team site template.



WebTemplate属性为两种类型的站点返回STS。

The WebTemplate property is returning STS for both type of site.



有没有办法找到相同的颜色?

Is there any way to find the same?



我已经浏览了以下链接,该链接适用于网站集级别,而不适用于子网站。

I have already gone through the below link which is working for site collection level and not for sub-sites.



http://www.ktskumar.com/2017/10/get-modern-team-communication-sites-using-pnp-powershell/ 

http://www.ktskumar.com/2017/10/get-modern-team-communication-sites-using-pnp-powershell/ 



请建议一些解决方案。

Please suggest some solution.



谢谢 

Thanks 


这篇关于如何使用PNP Powershell检索使用Modern和Classic Team网站模板的所有子网站的列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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