SlideShare una empresa de Scribd logo
1 de 19
The Power is in the Shell, Use
it Wisely!
Ryan Dennis
@SharePointRyan
www.SharePointRyan.com
http://www.orcsweb.com
About The Speaker
Ryan Dennis, MCTS, MCPD, MCITP
Senior SharePoint Engineer @ ICC
Microsoft Virtual Technology Specialist (vTSP)
www.SharePointRyan.com
@SharePointRyan
linkedin.com/in/sharepointryan
ryan@sharepointryan.com
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…
Agenda
• What is SharePoint 2010 FIS?
• Quick intro to SharePoint + PowerShell
• SharePoint website considerations
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
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…
Agenda
• What is SharePoint 2010 FIS?
• Quick intro to SharePoint + PowerShell
• SharePoint website considerations
• Using a spectacular set of PowerShell code to automate
the provisioning of complete, branded sites
• Q&A
SharePoint website considerations
• Performance
• Design
• Search Engine Optimization
• Easy content authoring and approval
Where XML comes in
• PowerShell can get XML data using a Type
Accelerator and the Get-Content cmdlet
• Example:
[xml]$xml = Get-Content C:SomeFile.xml
[xml] is the type accelerator, declaring the type as
System.Xml.XmlDocument
Getting the content
• There are a few cmdlets that can make bulk tasks
VERY easy and fun…
– Get-Content
– ForEach-Object
• Using these in conjunction with other SharePoint
cmdlets or custom functions can make your
PowerShell life much more awesome…
What were those again?
• Get-Content
– Can read the contents of a file…
– Can store the contents in a variable…
– Can process XML files…
– Can be piped into other cmdlets…
• ForEach-Object
– Provides a way to loop through - and perform
an action on - each item in a collection.…
XML Syntax
Subsite XML
Web App XML
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)
Agenda
• What is SharePoint 2010 FIS?
• Quick intro to SharePoint + PowerShell
• SharePoint website considerations
• Using a spectacular set of PowerShell
code to automate the provisioning of
complete, branded sites
• Q&A
USING A SPECTACULAR SET OF
POWERSHELL CODE TO AUTOMATE
THE PROVISIONING OF COMPLETE,
BRANDED SITES
DEMONSTRATION
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
Presentation Recap
• XML is a great way to store input for
scripts and functions
• PowerShell is an awesome way to
automate the building of entire, content
filled, branded, SharePoint-based websites
using XML as the input mechanism
Got-Questions -?
Ryan Dennis, MCTS, MCPD, MCITP
Senior SharePoint Engineer @ ICC
Microsoft Virtual Technology Specialist (vTSP)
www.SharePointRyan.com
@SharePointRyan
linkedin.com/in/sharepointryan
ryan@sharepointryan.com

Más contenido relacionado

Más de Ryan Dennis

SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
Ryan Dennis
 
Dogfood slides 2012
Dogfood slides 2012Dogfood slides 2012
Dogfood slides 2012
Ryan Dennis
 
ScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati SlidesScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati Slides
Ryan Dennis
 
DAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new pathDAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new path
Ryan Dennis
 
Build your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShellBuild your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShell
Ryan Dennis
 
SPS Cincinnati slidedeck (pdf)
SPS Cincinnati slidedeck (pdf)SPS Cincinnati slidedeck (pdf)
SPS Cincinnati slidedeck (pdf)
Ryan Dennis
 
SPS Cincinnati slidedeck
SPS Cincinnati slidedeckSPS Cincinnati slidedeck
SPS Cincinnati slidedeck
Ryan Dennis
 

Más de Ryan Dennis (12)

Leave The Fileshare and join the Enterprise Content Revolution!
Leave The Fileshare and join the Enterprise Content Revolution!Leave The Fileshare and join the Enterprise Content Revolution!
Leave The Fileshare and join the Enterprise Content Revolution!
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPath
 
Spsatx slides (widescreen)
Spsatx slides (widescreen)Spsatx slides (widescreen)
Spsatx slides (widescreen)
 
Dogfood slides 2012
Dogfood slides 2012Dogfood slides 2012
Dogfood slides 2012
 
ScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati SlidesScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati Slides
 
DAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new pathDAYSPUG - Funnel your info down a new path
DAYSPUG - Funnel your info down a new path
 
Intro to SharePoint + PowerShell
Intro to SharePoint + PowerShellIntro to SharePoint + PowerShell
Intro to SharePoint + PowerShell
 
Build your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShellBuild your SharePoint Internet Presence with PowerShell
Build your SharePoint Internet Presence with PowerShell
 
Funnel your Info down a new Path
Funnel your Info down a new PathFunnel your Info down a new Path
Funnel your Info down a new Path
 
SPS Dayton Slides
SPS Dayton SlidesSPS Dayton Slides
SPS Dayton Slides
 
SPS Cincinnati slidedeck (pdf)
SPS Cincinnati slidedeck (pdf)SPS Cincinnati slidedeck (pdf)
SPS Cincinnati slidedeck (pdf)
 
SPS Cincinnati slidedeck
SPS Cincinnati slidedeckSPS Cincinnati slidedeck
SPS Cincinnati slidedeck
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

The Power is in the Shell, Use it Wisely!

  • 1. The Power is in the Shell, Use it Wisely! Ryan Dennis @SharePointRyan www.SharePointRyan.com
  • 3.
  • 4. About The Speaker Ryan Dennis, MCTS, MCPD, MCITP Senior SharePoint Engineer @ ICC Microsoft Virtual Technology Specialist (vTSP) www.SharePointRyan.com @SharePointRyan linkedin.com/in/sharepointryan ryan@sharepointryan.com
  • 5. 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…
  • 6. Agenda • What is SharePoint 2010 FIS? • Quick intro to SharePoint + PowerShell • SharePoint website considerations • Using a spectacular set of PowerShell code to automate the provisioning of complete, branded sites • Q&A
  • 7. 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…
  • 8. Agenda • What is SharePoint 2010 FIS? • Quick intro to SharePoint + PowerShell • SharePoint website considerations • Using a spectacular set of PowerShell code to automate the provisioning of complete, branded sites • Q&A
  • 9. SharePoint website considerations • Performance • Design • Search Engine Optimization • Easy content authoring and approval
  • 10. Where XML comes in • PowerShell can get XML data using a Type Accelerator and the Get-Content cmdlet • Example: [xml]$xml = Get-Content C:SomeFile.xml [xml] is the type accelerator, declaring the type as System.Xml.XmlDocument
  • 11. Getting the content • There are a few cmdlets that can make bulk tasks VERY easy and fun… – Get-Content – ForEach-Object • Using these in conjunction with other SharePoint cmdlets or custom functions can make your PowerShell life much more awesome…
  • 12. What were those again? • Get-Content – Can read the contents of a file… – Can store the contents in a variable… – Can process XML files… – Can be piped into other cmdlets… • ForEach-Object – Provides a way to loop through - and perform an action on - each item in a collection.…
  • 14. 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)
  • 15. Agenda • What is SharePoint 2010 FIS? • Quick intro to SharePoint + PowerShell • SharePoint website considerations • Using a spectacular set of PowerShell code to automate the provisioning of complete, branded sites • Q&A
  • 16. USING A SPECTACULAR SET OF POWERSHELL CODE TO AUTOMATE THE PROVISIONING OF COMPLETE, BRANDED SITES DEMONSTRATION
  • 17. 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
  • 18. Presentation Recap • XML is a great way to store input for scripts and functions • PowerShell is an awesome way to automate the building of entire, content filled, branded, SharePoint-based websites using XML as the input mechanism
  • 19. Got-Questions -? Ryan Dennis, MCTS, MCPD, MCITP Senior SharePoint Engineer @ ICC Microsoft Virtual Technology Specialist (vTSP) www.SharePointRyan.com @SharePointRyan linkedin.com/in/sharepointryan ryan@sharepointryan.com

Notas del editor

  1. Talk about the Meta Fields and XML Features Demonstrate how to edit the page fields using the Meta Fields feature Show page source after editing the fields