SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Plus de Ryan Dennis

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!Ryan Dennis
 
SPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathSPSCBUS Slides Scarlet InfoPath
SPSCBUS Slides Scarlet InfoPathRyan Dennis
 
Spsatx slides (widescreen)
Spsatx slides (widescreen)Spsatx slides (widescreen)
Spsatx slides (widescreen)Ryan Dennis
 
Dogfood slides 2012
Dogfood slides 2012Dogfood slides 2012
Dogfood slides 2012Ryan Dennis
 
ScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati SlidesScarePoint Saturday Spookinnati Slides
ScarePoint Saturday Spookinnati SlidesRyan 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 pathRyan Dennis
 
Intro to SharePoint + PowerShell
Intro to SharePoint + PowerShellIntro to SharePoint + PowerShell
Intro to SharePoint + PowerShellRyan 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 PowerShellRyan Dennis
 
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 PathRyan Dennis
 
SPS Dayton Slides
SPS Dayton SlidesSPS Dayton Slides
SPS Dayton SlidesRyan 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 slidedeckRyan Dennis
 

Plus 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
 

Dernier

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfOverkill Security
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelDeepika Singh
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Jeffrey Haguewood
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
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 businesspanagenda
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024The Digital Insurer
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
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, Adobeapidays
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
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...apidays
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 

Dernier (20)

Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
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
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024Manulife - Insurer Transformation Award 2024
Manulife - Insurer Transformation Award 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
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
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
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...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 

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

Notes de l'éditeur

  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