Everybody knows PowerShell is powerful, it’s in the name! But did you know that PowerShell can read and understand XML? By leveraging XML among other things, complete builds can be automated – making them efficient and predictable.
In this fun, interactive and demo-filled session – I will show you how you can leverage PowerShell to help you build your branded, company website from the ground up using PowerShell and XML. I will also pass along some tips and tricks that will help you become a PowerShell Rockstar!
Boost PC performance: How more available memory can improve productivity
SPS Dayton Slides
1. SharePoint Saturday
Dayton, Ohio
June 30, 2012
Build you SharePoint Internet
presence with PowerShell
Ryan Dennis
2. About The Speaker
Ryan Dennis, MCTS, MCITP
Senior SharePoint Engineer @ ICC
Microsoft Virtual Technology Specialist (vTSP)
www.SharePointRyan.com
@SharePointRyan
linkedin.com/in/ryandennis
ryan@sharepointryan.com
3. What is a Virtual Technology Specialist?
The Microsoft Virtual Technology Specialist Program (VTSP)
is…
• a select group chosen from the elite in Microsoft’s
partner community
• their primary role is to communicate the value of
Microsoft Solutions to customers and to provide
architectural guidance for Enterprise Integration
solutions
VTSPs also:
• have guest access to information on the Microsoft
corporate network such as knowledge bases, technical
articles, training materials, and other resources
• guest access to Microsoft facilities
• priority for participating in Microsoft marketing events
4. General Information
• Tweet it Out!!
– Hashtag for this event: #SPSDayton
– Follow us: @SPSDayton
– Include your presenters
• Check out SPTV
– Tweets will display throughout the day on the
screens.
– Footage will be shown at http://mysp.tv
5. Questions and Evals…
• Fill out your evaluations to receive
– Parking Pass
– SPS Dayton T-Shirt
7. SharePoint Saturday Dayton has been made possible because
of generous sponsorship from the following friends…
8. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high search rankings
• Designing with SharePoint in mind (it CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
9. What is SharePoint 2010 FIS?
• FIS = For Internet Sites
• The license which allows you to build public-facing sites
without paying for lots of CALs
• Fundamentally it is no different than the standard
SharePoint version, it’s all about the licensing…
• For license specific questions, ask someone smarter than
me…
10. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high search rankings
• Designing with SharePoint in mind (it CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
11. Intro to Windows PowerShell
PowerShell
…is a task-based command-line shell and scripting
language designed especially for Windows system
administration
…has a task-based scripting language
…includes powerful object manipulation capabilities
…is built on the .NET Framework
12. Verb-Noun
PowerShell uses a Verb-Noun syntax for its Cmdlets
• Get-Something
• Set-Something
• New-Something
• Remove-Something
13. SharePoint 2010 Cmdlets
• 500+ Cmdlets…
• MUCH better than STSADM.exe…
• Can automate complete installations and
configurations…
• Still doesn’t answer every scenario, leaving
gaps in functionality…
– Example: Get, New and Remove SharePoint
Groups – no cmdlet, easy to write a custom
function though…
14. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high
search rankings
• Designing with SharePoint in mind (it CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
15. Search Engine Optimization
• Follow SEO Best Practices/Tips
– Use meaningful site & page names
– Great page titles
– Accurate Meta Elements
– Up-to-date Sitemap and Robots
– Search-friendly redirects
– Search-friendly menus/navigation
– Faster response times
– Better anchor text
– Provide text content for rich media
– Use Webmaster Tools to submit
sitemap and monitor Analytics
16. Search Engine Optimization
• SharePoint 2010 does not include SEO tools out of the box, but
there are good options…
– Mavention (http://mavention.nl)
• Meta Fields
• Robots
• Page Not Found
• Site Map XML Generator
– IIS 7.0 SEO Toolkit
– Custom…
18. Demo Recap
• We looked at the Mavention Meta Fields
feature…
• Edited some meta tags…
• Viewed the page source to see them in action…
• Had some fun?!
19. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high search rankings
• Designing with SharePoint in mind (it
CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
21. Designing with SharePoint in mind
• Design teams should…
– know enough about SharePoint to design around it’s strengths
(and weaknesses)…
– build list-based solutions so that content authors can easily and
efficiently update and manage content…
– work with development teams to ensure that their ideas can be
implemented…
22. Designing with SharePoint in mind
Clutch Interactive, a division of Information
Control Corporation, is an interactive
marketing agency. We create innovative user-
centric digital experiences rooted in
exceptional design and technical expertise.
23.
24.
25. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high search rankings
• Designing with SharePoint in mind (it CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
26. Developing the solution
• By working with design teams, development teams can
produce accurate, “pixel perfect” solutions in SharePoint
2010
• SharePoint doesn’t have to look like SharePoint
• By leveraging the SharePoint list model, content authors
can easily populate data which can be leveraged in
custom branded web parts
• SharePoint CAN be a best-in-class Web Content
Management (WCM) solution
27. How PowerShell makes it all happen
• Using PowerShell, we can automate:
– Creating the Web Application
– Creating the Site Collection(s)
– Configuring Caching
– Activating Features for Branding, SEO Tagging, etc.
– Creating the Enterprise Search Center
– Configuring Search Scopes and Target Results Page
– Creating Subsites
– Creating Pages
– Adding Content to Pages
– Making Dinner (OK, maybe not – but I’m sure V3 will)
28. Agenda
• What is SharePoint 2010 FIS?
• Quick intro to Windows PowerShell
• Implementing SEO tagging for high search rankings
• Designing with SharePoint in mind (it CAN be pretty!)
• Developing from a design
• Using a spectacular set of PowerShell
code to automate the provisioning of
complete, branded sites
• Q&A
29. DEMONSTRATIO
N
USING A SPECTACULAR SET OF
POWERSHELL CODE TO AUTOMATE
THE PROVISIONING OF COMPLETE,
BRANDED SITES
30. Demo Recap
• Used PowerShell to automate:
– Creation of the Web Application
– Creation of the Site Collection(s)
– Configuration of caching (BLOB, Output)
– Feature activation
– Application of custom branding
– Search configuration
– Subsite creation
– Page creation
– Content addition
– SEO Meta Tag creation
– Creation of custom footer list from list template
– Warming up/caching of the sites for our viewing
pleasure
31. Presentation Recap
• SharePoint CAN be pretty
• Designers and Developers should work
together throughout the entire project
lifecycle to ensure success
• PowerShell is an awesome way to
automate the building of entire, content
filled, branded, SharePoint-based websites
32. Got-Questions?
Ryan Dennis, MCTS, MCITP
Senior SharePoint Engineer @ ICC
Microsoft Virtual Technology Specialist (vTSP)
www.SharePointRyan.com
@SharePointRyan
linkedin.com/in/ryandennis
ryan@sharepointryan.com
Editor's Notes
Talk about the Meta Fields and XML FeaturesDemonstrate how to edit the page fields using the Meta Fields featureShow page source after editing the fields
Talk about the Meta Fields and XML FeaturesDemonstrate how to edit the page fields using the Meta Fields featureShow page source after editing the fields