Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I am trying to figure out if you can use Powershell with Commandlets to provision a new site. Basically if a customer calls for our solution can I write script that sets it all up? (Creating the site structure, lists, forms, documents?). I have looked through the cmdlets I could find and related to Office365 and I could not find any that deals with creating sites, creating lists etc.

I presume if that does not exist that the way to go is Visual Studio and a sandboxed SharePoint solution? That should give us most of the freedom we need?

Is there a way to migrate from an existing in house SharePoint solution and "upgrade" it to Office 365 in the cloud? Does one need a 3rd party product? Like MetaLogix?

share|improve this question

migrated from meta.sharepoint.stackexchange.com Dec 20 '11 at 15:50

This question came from our discussion, support, and feature requests site for SharePoint enthusiasts.

    
->I suppose there was an error during the migration. This should belong to the main site, not Meta. –  SPArchaeologist Dec 19 '11 at 13:00
    
@SPArchaeologist Yeh, I flagged this yesterday. It seems Meta isn't very moderated at the moment... –  Stuart Pegg Dec 20 '11 at 9:45
    
Actually, I also had flagged this - I left the comment only to be sure. I'm starting to think that all the mods are busy helping Santa Jeff to fill his sleigh with gifts for all the developers working with SharePoint all around the world. –  SPArchaeologist Dec 20 '11 at 10:13
add comment

2 Answers 2

Currently there are no Windows PowerShell commandlets that allow you to create new SharePoint Site Collections in Office 365. That has to be done manually.

However, once you have a site created you can upload a WSP that provisions all your lists etc... that you want in the site.

You can also use the Client Side OM to upload the WSP, however to "Activate" it you need to do this in the UI manually.

Alternatively you can use the CSOM to create your lists and libraries etc... however using a WSP will work out better for you in the long run with things like upgrade down the track.

share|improve this answer
add comment

You can create feature and add a feature event receiver and in FeatureActivated event you could write code that sets it all up and in FeatureDeactivating event write code code that clean it all. Adding a Feature Event Receiver

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.