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.
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Create a blueprint of your Farm using PowerShell with Corey Burke
1. Create a Blueprint of your
SharePoint Farm using PowerShell
Corey Burke
Principal Architect – Rackspace Hosting
2. 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/
3. 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
5. Why XML?
•
•
•
•
•
Natively supported by PowerShell and .NET
Lightweight/Portable
Easy to update by hand
Relational (Hierarchically)
Widely compatible
8. Going Deeper into PS Objects
• Two most important CMDLets in PowerShell
– Get-Help
– Get-Member
9. 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
23. 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
24. 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