问题描述
$ 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在线命令行开关的人。快速说明差异的方法是,在线指令是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的名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!