sharepoint 2010管理shell无法在Windows 10机器上运行 [英] sharepoint 2010 management shell is not working on windows 10 machine

查看:76
本文介绍了sharepoint 2010管理shell无法在Windows 10机器上运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我在Windows机器上安装了sharepoint 2010 成功了。但sp2010管理shell无法正常工作。开启获取错误 





我按照链接  https:// blogs .technet.microsoft.com / mspfe / 2012/09/05 / sharepoint-2010-management-shell-net-4-0-runtime-version-error /


要解决此问题,但问题仍未解决且出现不同的错误 作为    









所以请帮助我在Windows 10计算机上运行sharepoint 2010管理shell

解决方案

您好Jatin Ahuja。


SharePoint 2010只能使用PowerShell版本2.0:Windows 10包含更新版本的PowerShell,因此所有SharePoint cmdlet都不可用,因此显示错误消息。

创建Windows PowerShell可执行文件的快捷方式(默认情况下,在Windows 10中,它位于桌面上的"C:\ Users \ jatinahuja \ AppData \Roaming\Microsoft \ Windows \Start Menu \Programs \ Windows PowerShell"文件夹中,右键单击它并按
选择属性:添加"-Version 2.0"。 "目标"中的字符串字段并单击确定;通过双击该快捷方式再次运行Windows PowerShell,您应该能够看到所有SharePoint cmdlet。

无论如何,我不确定Windows 10是否支持SharePoint 2010,但我可以告诉您确保你可以在Windows 7上安装它,只要你做了一些初步的动作:我写了一个

文章


再见。


Hello guys,

I installed sharepoint 2010 on windows machine  successfully . but sp2010 management shell is not working. on opening getting error 

i follow the link https://blogs.technet.microsoft.com/mspfe/2012/09/05/sharepoint-2010-management-shell-net-4-0-runtime-version-error/

to resolve it but the issue is not resolved and getting different error  as    



so please help me to run sharepoint 2010 management shell on windows 10 machine

解决方案

Hi Jatin Ahuja.

SharePoint 2010 can use only PowerShell version 2.0: Windows 10 includes a more recent version of PowerShell, therefore all the SharePoint cmdlets are not available thus the error message displayed.
Create a shortcut to the Windows PowerShell executable file (by default, in Windows 10 it is located in the "C:\Users\jatinahuja\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Windows PowerShell" folder) on your desktop, right-click it and select Properties: add the "-Version 2.0" string in the "Target" field and click OK; run again Windows PowerShell by double clicking that shortcut and you should be able to see all the SharePoint cmdlets.
Anyway, I'm not sure SharePoint 2010 is supported in Windows 10, but I can tell you for sure that you can install it on Windows 7, provided that you do some preliminary actions: I wrote an article about that.

Bye.


这篇关于sharepoint 2010管理shell无法在Windows 10机器上运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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