SPS Dayton Slides

32
SharePoint Saturday Dayton, Ohio June 30, 2012 Build you SharePoint Internet presence with PowerShell Ryan Dennis

description

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!

Transcript of SPS Dayton Slides

Page 1: SPS Dayton Slides

SharePoint SaturdayDayton, Ohio

June 30, 2012

Build you SharePoint Internet presence with PowerShell

Ryan Dennis

Page 2: SPS Dayton Slides

About The Speaker

Ryan Dennis, MCTS, MCITPSenior SharePoint Engineer @ ICC Microsoft Virtual Technology Specialist (vTSP)

www.SharePointRyan.com

@SharePointRyan

linkedin.com/in/ryandennis

[email protected]

Page 3: SPS Dayton Slides

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

Page 4: SPS Dayton Slides

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

Page 5: SPS Dayton Slides

Questions and Evals…

• Fill out your evaluations to receive– Parking Pass– SPS Dayton T-Shirt

Page 6: SPS Dayton Slides

Brixx Ice Co.500 East First St., Dayton

Page 7: SPS Dayton Slides

SharePoint Saturday Dayton has been made possible because of generous sponsorship from the following friends…

Page 8: SPS Dayton Slides

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

Page 9: SPS Dayton Slides

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…

Page 10: SPS Dayton Slides

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

Page 11: SPS Dayton Slides

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

Page 12: SPS Dayton Slides

Verb-NounPowerShell uses a Verb-Noun syntax for its Cmdlets• Get-Something

• Set-Something

• New-Something

• Remove-Something

Page 13: SPS Dayton Slides

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…

Page 14: SPS Dayton Slides

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

Page 15: SPS Dayton Slides

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

Page 16: SPS Dayton Slides

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…

Page 17: SPS Dayton Slides

IMPLEMENTING SEO TAGGING

DEMONSTRATION

Page 18: SPS Dayton Slides

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?!

Page 19: SPS Dayton Slides

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

Page 20: SPS Dayton Slides

Designing with SharePoint in mind (SharePoint CAN be pretty!)

Page 21: SPS Dayton Slides

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…

Page 22: SPS Dayton Slides

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.

Page 23: SPS Dayton Slides
Page 24: SPS Dayton Slides
Page 25: SPS Dayton Slides

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

Page 26: SPS Dayton Slides

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

Page 27: SPS Dayton Slides

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)

Page 28: SPS Dayton Slides

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

Page 29: SPS Dayton Slides

USING A SPECTACULAR SET OF POWERSHELL CODE TO AUTOMATE THE PROVISIONING OF

COMPLETE, BRANDED SITES

DEMONSTRATION

Page 30: SPS Dayton Slides

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

Page 31: SPS Dayton Slides

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

Page 32: SPS Dayton Slides

Got-Questions?

Ryan Dennis, MCTS, MCITPSenior SharePoint Engineer @ ICC Microsoft Virtual Technology Specialist (vTSP)

www.SharePointRyan.com

@SharePointRyan

linkedin.com/in/ryandennis

[email protected]