SlideShare a Scribd company logo
Administering SharePoint 2010with Windows PowerShellDon JonesConcentrated Technology, LLChttp://concentratedtech.com
This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC
AgendaOur main goal is to explore what’s possible in SharePoint using Windows PowerShell……and to start looking at the major command sets that accomplish administrative tasksWe’ll spend a lot of time examining the Help files as part of this
CAUTION: DEMOS AHEADThis is a demonstration-intensive session (very few slides)
SP Management ShellNot really an independent shell……just a “preloaded” Windows PowerShellLoads a specific module/snapin at startup so that SP commands are availableYou could also manually load these into a “normal” shell (or 3rd-party host)Let’s see
Shell Admin PermissionsNeed to grant admins the right to use the management shellGet-SPShellAdminAdd-SPShellAdmin –username DOMAIN\user-database (Get-SPContentDatabase-Identity database_name)Remove-SPShellAdmin
Cmdlet NamingNotice the SP prefix on the noun of all SharePoint cmdlets?Get-Command –noun SP* Or…Get-Command limited to the SharePoint module/snapin (let’s see)
START THINKING…What SP admin tasks would YOU want to automate within the shell?Your ideas will drive our discovery of commands and capabilities… so start coming up with ideas!
Starting CommandsGet-SPSite (get site collections)Get-SPWeb (get Webs)Try this:Get-SPSite –limit All |Get-SPWeb –limit All |Where { -not $_.RequestAccessEnabled }
LimitsMost Get-SP* commands limit to 20 objectsUse –Limit to change that; either numeric or “All.”Be aware of potential performance issues with large result sets – avoid doing so on production servers unless necessary
FiltersMost Get-SP* commands also include a –filter parameterLimits the results to just those that meet the filter criteriaBest way to filter – as opposed to using Where – if the property you want to filter on is supported
Supported FiltersGet-SPSiteOwnerSecondary OnwerLockStateGet-SPWebTitleTemplateGet-SPWeb –filter {$_.Template –eq ’Blog’ }
FarmsGet-SPFarmGet-SPFarmConfigBackup-SPFarmRestore-SPFarm
ServersGet-SPServer [[-Identity] name]Get-SPServer | Where { $_.Role –eq "Application" }
Web ApplicationsNew-SPWebApplicationGet-SPWebApplicationRemove-SPWebApplication
SitesNew-SPSiteGet-SPSiteGet-SPSiteAdministrationBackup-SPSiteRemove-SPSite
WebsNew-SPWebGet-SPWebRemove-SPWeb
NOW… let’s do some Q&AI’ve got more demos to show you, but want to make sure I address your questionsAsk ‘em now!The remainder of the session will be additional demos
Final Q&AText DONJ to 50500 for contact infoSee me for add’l resourcesBooksWorkshop recordingsDemo videosEtcSlide decks posted to ConcentratedTech.com by next week
Final Notes…Please be sure to submit a session evaluation form!Download slides & materials from www.ConcentratedTech.com within one week!Blog, URLs, and other information is also available at www.ConcentratedTech.com for your referenceMore resources at www.ShellHub.comThank you very much!
Your Feedback is ImportantPlease fill out a session evaluation form.Thank you!
This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC

More Related Content

PPTX
Admin SharePoint 2010 with PowerShell
PDF
A Complete Installation Guide for Orangescrum
PDF
Virtualización de Escriorios VMWare View 5
PPTX
Laravel and artisan cli
PDF
Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7
PDF
Installation instruction of Testlink
PDF
Using jca salesforce adapter with soa suite
PPTX
ADF 2.4.0 And Beyond
Admin SharePoint 2010 with PowerShell
A Complete Installation Guide for Orangescrum
Virtualización de Escriorios VMWare View 5
Laravel and artisan cli
Oracle Enterprise Manager Cloud Control 13c13.3 Installation On Oracle Linux-7
Installation instruction of Testlink
Using jca salesforce adapter with soa suite
ADF 2.4.0 And Beyond

What's hot (15)

KEY
Amahi 5.0 Screenshots
 
PDF
Time Log with Payment Add on User Manual
PDF
Orangescrum Recurring task add on user manual
PPT
Managing Virtual Infrastructures With PowerShell
PDF
instaling
PDF
Add target manually em12c
PPTX
Tools of the CPAN Ninja
PPT
Creating Local WordPress Installs
PPSX
Demo for Why Use PowerShell
PPTX
owasp top 10
ZIP
Seo pressor unlimited-license-v4.0
PDF
Install Active Directory PowerShell Module on Windows 10
PDF
Troubleshooting APEX Performance Issues
PPT
How to begin with Amazon EC2?
PPT
Does your website take more time while loading
Amahi 5.0 Screenshots
 
Time Log with Payment Add on User Manual
Orangescrum Recurring task add on user manual
Managing Virtual Infrastructures With PowerShell
instaling
Add target manually em12c
Tools of the CPAN Ninja
Creating Local WordPress Installs
Demo for Why Use PowerShell
owasp top 10
Seo pressor unlimited-license-v4.0
Install Active Directory PowerShell Module on Windows 10
Troubleshooting APEX Performance Issues
How to begin with Amazon EC2?
Does your website take more time while loading
Ad

Viewers also liked (7)

DOCX
Bentuk hirarki pentadbiran dan perkaitan dengan organisasi sekolah...
PPTX
Pengurusan dan pentadbiran
PPTX
PENGERTIAN EKONOMI
PPT
Asas pengurusan
PPTX
PENGENALAN KEPADA PENGURUSAN
PPTX
DEFINISI DAN KEPENTINGAN PENGURUSAN
PPTX
Bab 2-Fungsi Pengurusan
Bentuk hirarki pentadbiran dan perkaitan dengan organisasi sekolah...
Pengurusan dan pentadbiran
PENGERTIAN EKONOMI
Asas pengurusan
PENGENALAN KEPADA PENGURUSAN
DEFINISI DAN KEPENTINGAN PENGURUSAN
Bab 2-Fungsi Pengurusan
Ad

Similar to Admin share point with powershell (20)

DOCX
Power shell
PPTX
Intro to PowerShell
PPTX
NZ Code Camp 2011 PowerShell + SharePoint
PPTX
Power Shell and Sharepoint 2013
PPTX
Using PowerShell for SharePoint 2013
PPTX
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
PPTX
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
PPTX
New World Of SharePoint 2010 Administration Oleson
PPTX
Share point 2010_day5
PPTX
Power shell for sp admins
PPTX
Introducing SP2010 To Administrators
PPTX
PowerShell + SharePoint Online - An Admin's Guide
PPTX
I5 - Bring yourself up to speed with power shell
PPTX
How to do everything with PowerShell
PPTX
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
PPTX
PowerShell: Through the SharePoint Looking Glass
PPTX
SPSSTL - PowerShell - Through the SharePoint Looking Glass
PPTX
Make the hosting company life easier with SharePoint PowerShell
PPTX
Managing SharePoint Anywhere with Windows PowerShell
PPTX
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
Power shell
Intro to PowerShell
NZ Code Camp 2011 PowerShell + SharePoint
Power Shell and Sharepoint 2013
Using PowerShell for SharePoint 2013
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
Brian Jackett: Managing SharePoint 2010 Farms with Powershell
New World Of SharePoint 2010 Administration Oleson
Share point 2010_day5
Power shell for sp admins
Introducing SP2010 To Administrators
PowerShell + SharePoint Online - An Admin's Guide
I5 - Bring yourself up to speed with power shell
How to do everything with PowerShell
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
PowerShell: Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking Glass
Make the hosting company life easier with SharePoint PowerShell
Managing SharePoint Anywhere with Windows PowerShell
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...

More from Concentrated Technology (20)

PPT
Wsus sample scripts
PPTX
Wsus best practices
PPT
Virtualization today
PPTX
Virtualization auditing & security deck v1.0
PPTX
PPT
From VB Script to PowerShell
PPT
Top ESXi command line v2.0
PPT
Supporting SQLserver
PPT
PPT
Securely connecting to apps over the internet using rds
PPT
Rapidly deploying software
PPT
PS scripting and modularization
PPT
PS error handling and debugging
PPTX
PowerShell crashcourse for Sharepoint admins
PPT
Prepping software for w7 deployment
PPT
PowerShell Remoting
PPTX
PowerShell crashcourse for sharepoint
PPT
PowerShell crashcourse
PPT
PowerShell 8tips
PPTX
PowerShell custom properties
Wsus sample scripts
Wsus best practices
Virtualization today
Virtualization auditing & security deck v1.0
From VB Script to PowerShell
Top ESXi command line v2.0
Supporting SQLserver
Securely connecting to apps over the internet using rds
Rapidly deploying software
PS scripting and modularization
PS error handling and debugging
PowerShell crashcourse for Sharepoint admins
Prepping software for w7 deployment
PowerShell Remoting
PowerShell crashcourse for sharepoint
PowerShell crashcourse
PowerShell 8tips
PowerShell custom properties

Recently uploaded (20)

PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Advanced IT Governance
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
PDF
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PPT
Teaching material agriculture food technology
PDF
Modernizing your data center with Dell and AMD
PDF
Advanced Soft Computing BINUS July 2025.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PPTX
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
PDF
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
Diabetes mellitus diagnosis method based random forest with bat algorithm
Advanced methodologies resolving dimensionality complications for autism neur...
Per capita expenditure prediction using model stacking based on satellite ima...
20250228 LYD VKU AI Blended-Learning.pptx
Advanced IT Governance
Spectral efficient network and resource selection model in 5G networks
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
HCSP-Presales-Campus Network Planning and Design V1.0 Training Material-Witho...
AI And Its Effect On The Evolving IT Sector In Australia - Elevate
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Teaching material agriculture food technology
Modernizing your data center with Dell and AMD
Advanced Soft Computing BINUS July 2025.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Telecom Fraud Prevention Guide | Hyperlink InfoSystem
CIFDAQ's Market Wrap: Ethereum Leads, Bitcoin Lags, Institutions Shift
NewMind AI Weekly Chronicles - August'25 Week I
madgavkar20181017ppt McKinsey Presentation.pdf

Admin share point with powershell

  • 1. Administering SharePoint 2010with Windows PowerShellDon JonesConcentrated Technology, LLChttp://concentratedtech.com
  • 2. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC
  • 3. AgendaOur main goal is to explore what’s possible in SharePoint using Windows PowerShell……and to start looking at the major command sets that accomplish administrative tasksWe’ll spend a lot of time examining the Help files as part of this
  • 4. CAUTION: DEMOS AHEADThis is a demonstration-intensive session (very few slides)
  • 5. SP Management ShellNot really an independent shell……just a “preloaded” Windows PowerShellLoads a specific module/snapin at startup so that SP commands are availableYou could also manually load these into a “normal” shell (or 3rd-party host)Let’s see
  • 6. Shell Admin PermissionsNeed to grant admins the right to use the management shellGet-SPShellAdminAdd-SPShellAdmin –username DOMAIN\user-database (Get-SPContentDatabase-Identity database_name)Remove-SPShellAdmin
  • 7. Cmdlet NamingNotice the SP prefix on the noun of all SharePoint cmdlets?Get-Command –noun SP* Or…Get-Command limited to the SharePoint module/snapin (let’s see)
  • 8. START THINKING…What SP admin tasks would YOU want to automate within the shell?Your ideas will drive our discovery of commands and capabilities… so start coming up with ideas!
  • 9. Starting CommandsGet-SPSite (get site collections)Get-SPWeb (get Webs)Try this:Get-SPSite –limit All |Get-SPWeb –limit All |Where { -not $_.RequestAccessEnabled }
  • 10. LimitsMost Get-SP* commands limit to 20 objectsUse –Limit to change that; either numeric or “All.”Be aware of potential performance issues with large result sets – avoid doing so on production servers unless necessary
  • 11. FiltersMost Get-SP* commands also include a –filter parameterLimits the results to just those that meet the filter criteriaBest way to filter – as opposed to using Where – if the property you want to filter on is supported
  • 14. ServersGet-SPServer [[-Identity] name]Get-SPServer | Where { $_.Role –eq "Application" }
  • 18. NOW… let’s do some Q&AI’ve got more demos to show you, but want to make sure I address your questionsAsk ‘em now!The remainder of the session will be additional demos
  • 19. Final Q&AText DONJ to 50500 for contact infoSee me for add’l resourcesBooksWorkshop recordingsDemo videosEtcSlide decks posted to ConcentratedTech.com by next week
  • 20. Final Notes…Please be sure to submit a session evaluation form!Download slides & materials from www.ConcentratedTech.com within one week!Blog, URLs, and other information is also available at www.ConcentratedTech.com for your referenceMore resources at www.ShellHub.comThank you very much!
  • 21. Your Feedback is ImportantPlease fill out a session evaluation form.Thank you!
  • 22. This slide deck was used in one of our many conference presentations. We hope you enjoy it, and invite you to use it within your own organization however you like.For more information on our company, including information on private classes and upcoming conference appearances, please visit our Web site, www.ConcentratedTech.com. For links to newly-posted decks, follow us on Twitter:@concentrateddon or @concentratdgregThis work is copyright ©Concentrated Technology, LLC