Sharepoint在线管理shell错误:术语“Get-SPWeb”无法识别为cmdlet的名称 [英] Sharepoint online management shell Error:The term 'Get-SPWeb' is not recognized as the name of a cmdlet

查看:107
本文介绍了Sharepoint在线管理shell错误:术语“Get-SPWeb”无法识别为cmdlet的名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

$ spWeb = Get-SPWeb -Identity" https://sify.sharepoint.com"
$


它给了我以下错误



   术语"Get-SPWeb"不被识别为cmdlet,函数,脚本的名称...
$


网址是正确的,为什么我收到此错误in share point 2013

$spWeb = Get-SPWeb -Identity "https://sify.sharepoint.com"

It gave me the following error

    The term 'Get-SPWeb' is not recognized as the name of a cmdlet, function, script...

The url is correct so why am I getting this error in share point 2013

推荐答案

这是因为它不适用于SharePoint在线。这是一个与SharePoint 2010/2013而不是SharePoint在线使用的本地命令行开关。

That's because it doesn't for SharePoint online. That's an on-premises commandlet to be used with SharePoint 2010/2013 rather than SharePoint online.

对于那些需要使用不同且更有限的SharePoint在线命令行开关的人。快速说明差异的方法是,在线指令是SPO,而本地指令只是SP。

For those you need to use the different, and much more limited, SharePoint online commandlets. The quick way to tell the difference is that the online comandlets are SPO whilst the on-prem ones are just SP.

这是一个SPO指令列表:  https://technet.microsoft.com/en-us/library/fp161364.aspx

Here's a list of the SPO comandlets: https://technet.microsoft.com/en-us/library/fp161364.aspx


这篇关于Sharepoint在线管理shell错误:术语“Get-SPWeb”无法识别为cmdlet的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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