如何使用Power Shell(4.0)脚本在SharePoint(2016)调查列表中添加问题? [英] How to add a question in SharePoint(2016) Survey List using Power Shell(4.0) Script?
本文介绍了如何使用Power Shell(4.0)脚本在SharePoint(2016)调查列表中添加问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在讨论区列表"中,我们可以使用以下查询创建新讨论",是否可以使用Power Shell在这样的调查列表中创建新问题?
In Discussion Board List we can create New Discussion Using the following query, is there anything i can use like this to create new question in Survey List using Power Shell.
$ newTopic = [Microsoft.SharePoint.Utilities.SPUtility] :: CreateNewDiscussion($ list,$ Subject);
$newTopic = [Microsoft.SharePoint.Utilities.SPUtility]::CreateNewDiscussion($list,$Subject);
推荐答案
SharePoint调查是一个列表,每个问题都是一列.
A SharePoint survey is a list, and each question is a column.
类似这样的东西:
调查=
web.lists [测试调查"]
web.lists["Test Survey"]
这篇关于如何使用Power Shell(4.0)脚本在SharePoint(2016)调查列表中添加问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文