Using Powershell to perform a scripted install of Aurea Social on SharePoint 2010 SP1 or SharePoint 2013
These instructions are used for installations of eitherSharePoint 2010 SP1 or SharePoint 2013.
Before you begin
Before performing a scripted install of Aurea Social as outlined in this topic, read and follow all sections of this topic before the section titled Proceeding with Aurea Social Install/Upgrade/Repair.
Once the instructions in Compatibility with SharePoint Cumulative Updates are completed, you may find helpful suggestions in the subsection of the topic Install/Upgrade/Repair, if something goes wrong during install. Then proceed to the Next Steps section to check for other steps you’ll want to perform.
Installing
Aurea Social comes witha PowerShell-based installer that can be used to perform scripted installs to SharePoint 2010 SP1 or to SharePoint 2013. It can be found in the Scripts folder of the installation package. To launch PowerShell with both the SharePoint SnapIns and the Aurea Social Cmdlets loaded, run the Aurea Social Management Shell link from the Scripts folder.
From that command prompt, the following commands are available:
For a new install, you first need to create the Service Application Pool in SharePoint for Aurea Social. If installing News Manager, a second one is needed for it.
Example:
(Each will ask for the service account to run under.)
Once the service applications are created, they need to be assigned to variables:
Example:
Now the Install-SocialSites cmdlet can be run.
Example:
- -LiteralPath: path to the solutions folder, if currently in the solutions folder
$pwd
can be used - -DatabaseServer: where to put the NewsGator databases, cannot be LOCALHOST or . (dot), you need to specify the machine name
- -DatabaseName: name of the platform services database
- -ReportingDatabaseName: name of the reporting database
- -EmailListWebUrl: URL of the SharePoint site to put the email lists
- -MySiteWebUrl: URL of the My Site
- -AllWebApplications {OR} -WebApplications "url 1", "url 2": specify which content web applications to deploy NewsGator to
- -LicenseKey: the license key provided by NG
- -ReplaceMySiteWebParts: without this flag, the My Site would stay as default OOTB SharePoint, with it the web parts are replaced with the NewsGator web parts
- -ApplicationPool: the SharePoint Service Application Pool for the platform services
- -NewsManagerDatabaseName: name of the news manager database
- -NewsManagerApplicationPool: the SharePoint Service Application pool for the news manager
- -Verbose: enabled more details output to the console (use for logging or if having issues to help identify where the issue occurs)
-VideoApplicationPool: SharePoint Service Application pool for video stream.
-VideoEncodingInputFolder: path to the encoding input folder (aka to be encoded folder). UNC paths are allowed.
-VideoEncodingOutputFolder: path to the encoding output folder (aka encoded folder). UNC paths are allowed.
-VideoStreamingServerFolder: physical path to the streaming folder on the streaming server. UNC paths are allowed.
-VideoUploadFolder: physical path to the upload folder on the WFE. UNC paths are allowed.
-VideoStreamingServerUrlDefaultZone: URL for the default zone to the streaming server’s streaming content on the streaming server.
-VideoStreamingServerUrlIntranetZone: URL for the Intranet zone to the streaming server’s streaming content on the streaming server. (OPTIONAL)
-VideoStreamingServerUrlInternetZone: URL for the Internet zone to the streaming server’s streaming content on the streaming server. (OPTIONAL)
-VideoStreamingServerUrlCustomZone: URL for the Custom zone to the streaming server’s streaming content on the streaming server. (OPTIONAL)
-VideoStreamingServerUrlExtranetZone: URL for the Extranet zone to the streaming server’s streaming content on the streaming server. (OPTIONAL)
-LearningApplicationPool: the SharePoint Service Application pool for Enrich.
-LearningGlobalKnowledgeBase: The URL to the Global Knowledge Base
Manual steps
Enable site collection features before enabling web features:
- NewsGator Common Libraries feature (Site)
- NewsGator Knowledge Base (Site)
- NewsGator Knowledge Base Fields for SharePoint 2013 (Site)
- NewsGator Video Scenarios (Site)
- NewsGator Video Scenarios Fields for SharePoint 2013 (Site)
- NewsGator VideoStream Fields for SharePoint 2013 (Site)
- NewsGator VideoStream UI (Site)
Update-SocialSites
To update an existing install, run:
Uninstall-SocialSites
To remove Aurea Social (might need to use if the install failed and need to retry):