SlideShare uma empresa 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

Mais conteúdo relacionado

Mais 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
 

Mais 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

+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...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
+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...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
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
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 

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 do 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