-1
可以使用包含power shell命令的批处理文件来管理sharepoint 2010及其用户配置文件和角色吗?我可以在批处理文件中使用sharepoint 2010 powershell吗?
可以使用包含power shell命令的批处理文件来管理sharepoint 2010及其用户配置文件和角色吗?我可以在批处理文件中使用sharepoint 2010 powershell吗?
有专门的cmdlet来管理SharePoint 2010:看this link
但是,如果你想使用现有批次可以PowerShell中调用它们像这样
PS>cmd /c "C:\temp\test.cmd param1 param2"
你给的命令不运行......是这个公认的命令吗? –
只需在PowerShell控制台中键入'cmd/c“c:\ path \ to \ yourbatch.bat”',这应该可以正常工作 –
ok..will try..Thanks。谢谢。在任何地方使用bat文件的电源shell命令?这样我可以直接在我的java中使用aaplication? –