0

newbie question,

I have an office 365 E4 plan in the office and have been playing around with SharePoint.

I reached a point where i need to code a few things.

Can i use powershell and SPSite to connect to SharePoint online, ie not a local farm.

I have successful used SPOSite but cant seem to be able to use SPSite.

thanks, Alex

alex
  • 17
  • 4
  • Are you using the powershell cmdlet for SharePoint online? – Matt Mar 05 '14 at 13:26
  • SPOSite means site collection? SPSite means sub site? – Matt Mar 05 '14 at 13:28
  • As far as I understand the functionality of SPOSite is very limited vs SPSite. .? – alex Mar 05 '14 at 15:00
  • In the poershell cmdlet of SharePoint oline, SPOSite means the site collection, the root one. I don't find the SPSite term in this powershell cmd. If you don't understand the term site collection, you should look into doc of sharepoint first – Matt Mar 05 '14 at 15:36
  • I think you're missing my point. The question is, the following, there are two cmd "types" the "SPO" and "SP". – alex Mar 05 '14 at 16:38
  • "SPO" is for example get-SPOSite while "SP" is get-SPSite – alex Mar 05 '14 at 16:38
  • The "SPO" cmd's are a lot less than the "SP" ones. I would have liked to be able to use the "SP" cmd's on a sharepoint online account, something which unfortunately i don't believe is possible – alex Mar 05 '14 at 16:39
  • Did you try this: http://www.microsoft.com/resources/technet/en-us/office/media/windowspowershell/windowspowershellcommandbuilder.html – Matt Mar 05 '14 at 21:25

1 Answers1

0

The short version is no, you can't. The "O" in "SPO" is for "Online". The SPO- family of cmdlets are for SharePoint Online, and not all the same functionality is exposed in the online version as on-premises.

Often, however, there are alternatives depending on the specific scenario you're trying to enable.

Philippe Signoret
  • 13,299
  • 1
  • 40
  • 58
  • By the way one of the things i wanted to do and thus the SPSite cmdlet is this: http://www.c-sharpcorner.com/Blogs/4966/using-powershell-make-the-sharepoint-choice-field-default-va.aspx – alex Mar 06 '14 at 07:27