Sharepoint power shell脚本输出到SQl数据库 [英] Sharepoint power shell scripts output to SQl Database

查看:80
本文介绍了Sharepoint power shell脚本输出到SQl数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好, 

我们有脚本从我们的租户获取sharepoint网站集,所有属性包括

We have scripts to get the sharepoint site collection from our tenant with all the attribute include

SIte所有者

模板

SIte分类

Template
SIte Classification

网站网址

我想要输出到 在我们的sql表中有相同的列 

I want the output to  have it in our sql table which will have same column 

我该怎么做

推荐答案

您好Kundan Ghimire。

Hi Kundan Ghimire.

您可以使用
Invoke-SqlCmd
PowerShell cmdlet:阅读您找到的示例在  http://www.sqlservercentral.com/scripts/PowerShell/167128/

再见。


这篇关于Sharepoint power shell脚本输出到SQl数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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