问题标签 [stsadm]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
5024 浏览

powershell - Windows 共享点服务 (WSS 3.0) stsadm 不工作

我是PowerShell的新手。我正在尝试使用 stsadm 命令备份共享点站点,但由于某种原因,我不断给我一些错误。

这是我正在做的事情:
PS C:\Users\Administrator> Stsadm –o backup –url >http://server< name:port - filename path\filename to be used for the backup file

这是我得到的错误:
术语“stsadm”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称。检查名称的拼写,或包含路径,验证路径是否正确,然后重试,
在 line:1 char:7
+ stsadm <<<< stsadm –o backup –url >http://server< name:端口 -用于备份文件的文件名路径\文件名+
CategoryInfo : ObjectNotFound: [], CommandNotFoundException
+FullyQualifiedErrorID : CommandNotFoundException

0 投票
2 回答
6608 浏览

sharepoint - SharePoint 2010 - 设置 peoplepicker-searchadforests,无法删除属性并获取设置后没有 -url 参数

我希望有人可以提供帮助的有趣行为。

尝试使用 Powershell 中的 stsadm 命令调整“ peoplepicker-searchadforests ”属性,我运行了以下命令:

未发送 -url 参数

它设置正确,现在我在运行 getproperty 时得到以下信息:

如果我试图清除它,这就是事情分崩离析的地方:

结果与 getproperty 输出:

我无法让 Exist 等于“否”。

如果我运行上述命令,但发送 -url 值,则不会发生此问题,并且我能够成功删除该属性。

例子:

结果是:

如果我这样做:

我得到:

但是,对于这个初始值,我找不到将 Exist 值设为“No”的方法。尝试使用

只会导致错误,因为它不是有效/格式正确的 URL。

是否有注册表值、web.config 文件或任何我可以手动编辑以删除/删除此属性的内容,以便我得到?

最糟糕的是,这样做似乎解决了我首先运行命令的问题(让 SP2010 中的 People Picker 搜索我们拥有的当前域和第二个域)。但是,如果在生产服务器上没有发生同样的事情,我无法撤消它,我就不能在我们的生产服务器上做同样的事情。

0 投票
1 回答
274 浏览

c# - Run SharePoint STSADM command from C# Console

I've been asked to run the following command from C#:

Here is the code:

The command runs fine in a stand-alone command window, but always displays the standard "STSADM -o" help text when run from my console app.

Any idea why??

The gl-copylist command is an add-in to the standard SharePoint STSADM command. Could this be the reason? Other standard STSADM commands run in my code.

0 投票
0 回答
50 浏览

sharepoint - SharePoint 2007 用户迁移:用户已从 SharePoint 组中删除

我负责为 SharePoint 2007 MOSS 场将用户从域 A 迁移到域 B。我正在使用 stsadm -o migrateuser 命令。

问题是,在我为 2 个测试用户运行命令后,从他之前所在的每个组中删除了 1 个用户。到目前为止,另一个工作正常。

我想了解命令的过程以及它是如何将用户从组中删除的。

更多信息:在农场中,我有一些其他已退役的应用程序,它们的内容数据库被设置为只读。当我为 2 个帐户运行命令时,唯一的区别是使用工作帐户,我在运行脚本之前将所有这些数据库设置为“读/写”模式。“只读”数据库是否可能导致问题?

0 投票
1 回答
1941 浏览

powershell - Solutions Deploying Status Stuck at Deploying and Retracting - Sharepoint 2013

I have 3 tier architecture server which are 1 Web Front Ender Server (WFE), 1 Application Server (APP) and 1 Database Server (DB) that installed in 1 physical server / host. Then suddenly the host broken caused by the RAM is broken.

After that happen, we done some recovery and use the VM backup then restore it to the new host / physical server. After we restored all the Virtual Machine (WFE, APP, DB) the sharepoint running OK and then when we try to retract and deploy some solutions, the deployment status stucks at deploying and retracting whenever we tried.

We have tried to deploy and retract from Central Administration, using powershell command, and using stsadm command line but keeps getting the same result. Anyone having the same problem ? and how you solve this ?

0 投票
0 回答
37 浏览

powershell - Powershell 从旧的 Sharepoint 2007 农场获取完整的用户列表

我目前正在迁移旧的不受信任域中的旧 Sharepoint 2007 场。该场有多个站点,其中包含多个级别的子站点。

我正在尝试分析当前的农场,以将旧用户名与新用户名匹配,并就他们的内容联系用户。我曾尝试使用 sharegate,但该工具不支持 2007 年的此类报告我也尝试过 stsadm enumusers 和一些变体,但它似乎没有遍历子站点

有没有办法使用 powershell 或 stsadm 来获得整个农场用户的完整导出?