Create a blueprint of your Farm using PowerShell with Corey Burke
Upcoming SlideShare
Loading in...5
×
 

Create a blueprint of your Farm using PowerShell with Corey Burke

on

  • 323 views

In this webinar we will discuss using PowerShell to extract configuration information from SharePoint to store in XML to include reading and writing XML and some example use cases.

In this webinar we will discuss using PowerShell to extract configuration information from SharePoint to store in XML to include reading and writing XML and some example use cases.

Statistics

Views

Total Views
323
Views on SlideShare
319
Embed Views
4

Actions

Likes
0
Downloads
11
Comments
0

1 Embed 4

http://www.slideee.com 4

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Create a blueprint of your Farm using PowerShell with Corey Burke Create a blueprint of your Farm using PowerShell with Corey Burke Presentation Transcript

  • Create a Blueprint of your SharePoint Farm using PowerShell Corey Burke Principal Architect – Rackspace Hosting
  • About Me • • • • Architect, trainer, speaker and Manager of the SharePoint Hosting Services team at Rackspace: The Open Cloud Company in the UK Contributing author - Professional SharePoint 2013 Administration Technical Editor - Beginning SharePoint 2013: Building Business Solutions Contact Me: • Email • • Blog • • http://blog.sharepoint-voodoo.net Twitter • • Corey.Burke@rackspace.co.uk http://twitter.com/cburke007 Find me on LinkedIn • http://uk.linkedin.com/in/cburke007/
  • About Rackspace • • • The largest collective team of SharePoint MVPs. • Over 1,000,000 dedicated seats. The largest collection of published SharePoint authors. The most published SharePoint books. (23 and counting) • The most 'Microsoft Hosting Partner of the Year' awards (4) • The only company with Fanatical Support® (As stated by Microsoft at the 'Worldwide Hosting Summit', May 23rd, 2013.) 3
  • Agenda • • • • • • PowerShell & XML Creating an XML structure Mining SharePoint for configuration data Reading & Writing XML Mining the output XML for data Usage scenarios
  • Why XML? • • • • • Natively supported by PowerShell and .NET Lightweight/Portable Easy to update by hand Relational (Hierarchically) Widely compatible
  • Priming PowerShell for .NET • Loading SharePoint Assemblies • 2007 • 2010/2013
  • Instantiating Objects • 2007 • 2010/2013
  • Going Deeper into PS Objects • Two most important CMDLets in PowerShell – Get-Help – Get-Member
  • Writing XML • • • • • Create the XML variable Query your desired data Select the XML Node where you want to insert data Create a new Element and set any desired attributes Append the new Element to the selected Node in the XML Variable
  • Creating the XML object
  • Get the local Farm object
  • Saving the XML to a file
  • Reading XML from a File
  • Get Web App Data
  • Finding Data in XML
  • Searching XML with XPath
  • Get Alternate Access Mappings
  • Get Content Database Data
  • Get Service App Data
  • Display Web App Config Data
  • Display Databases for Web App
  • Putting it all together http://spaudit.codeplex.com
  • Where can you go from here? • Incorporate the XML output into an automated install script (AutoSPInstaller?) • Use the XML as a data source in SharePoint • File it away for rebuilds or migrations
  • Summary • We covered – – – – Gathering useful information from SharePoint Storing that information in XML Retrieving Information from XML Using the output XML in an example scenario