SlideShare uma empresa Scribd logo
1 de 33
Getting Everything You Ever Wanted Out of
SharePoint (via PowerShell)

SharePoint User Group - Cambridge, UK

Presenter: Corey Burke
December 2, 2013

1
Who does this guy think he is?
• Corey Burke
• Architect, trainer, speaker and founding member of the SharePoint Hosting Services team
at Rackspace: The Open Cloud Company
• Contributing author - Professional SharePoint 2013 Administration
• Technical Editor - Beginning SharePoint 2013: Building Business Solutions
• Recovering anti-socialite
• Email
• Corey.Burke@rackspace.co.uk

• Blog
• http://blog.sharepoint-voodoo.net

• Twitter
• http://twitter.com/cburke007

• Find me on LinkedIn
• http://uk.linkedin.com/in/cburke007/

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM
About Rackspace
• The largest collective
team of SharePoint
MVPs.

• Over 1,000,000
dedicated seats.

• The largest collection
of published
SharePoint authors.

• The most 'Microsoft
Hosting Partner of the
Year' awards (4)

• The most published
SharePoint books.
(23 and counting)

• The only company with
Fanatical Support®

(As stated by Microsoft at the 'Worldwide Hosting Summit', May 23rd, 2013.)

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

3
The Good Stuff…
What we’ll be covering today
– Evolution of SharePoint Administration
– API: Who needs it?
– What do YOU want?
– Where to begin?
– Getting your hands dirty
– Using what you got

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

4
Evolution of SharePoint Administration
Pre-SharePoint
Era

SharePoint Era

2001/2003

2007

STSADM

.NET API

2010/2013

CMDLets
RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

5
STSADM

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM
.NET

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM
CMDLet

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM
The Who, What, Why’s of the API’s
• What is it?
– Application Programming Interface

• Who needs it?
– Developers
– SysAdmins
– DevOps

• Why should I care?
– Direct .NET access from compatible languages
• Which includes PowerShell

– Ultimate Flexibility

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

9
Ewww! I’m not touching that!
“I’m an Infrastructure person. I never touch the APIs…”

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

10
What Do YOU Want?

Farm Build
Version
List ID

Documents

Data Output (File System,
Text, CSV, XML, etc…)
RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

11
Choosing an Entry Point
Farm
Servers
Web Applications
Databases

• SPFarm
• Farm Configuration

• SPServer
• Server Properties, Server Roles (Web Front End, App, Database)

• SPWebApplication
• Web Application Properties, Content

• SPContentDatabase
• Content Databases & Properties

Site Collections

• SPSite

Webs

• SPWeb

Lists

Items

• Site Collection Properties, RootWeb, Collection of Webs

• Web Properties, Team Sites, Publishing Portals, etc.

• Document Libraries, Discussions, Surveys, etc.
• Documents, Images, Contacts, Pages, etc.
RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

12
Getting Your Hands Dirty
• Data Hunting Tools
– Get-Help
– Get-Member

• Examples:
– Properties vs. Methods

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

13
What do I do with my data?

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

14
Migrating Content Databases

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

15
Migrating Content

•Scenario
–You are an Administrator tasked with rapidly migrating
50+ content databases:
• Development Farm to Test Farm
• 2007 to 2010
• 2010 to 2013

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

16
What the…?

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

17
Gathering Data
• What information do we need to replicate the
configuration?
– Web Application URL
– Content Database name
– Status (Started or Stopped)
– A means of storing the configuration information (CSV, Text, XML,
etc.)

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

18
Getting the data

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

19
CSV Output

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

20
Putting It All Back In

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

21
Broken Content

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

22
WSS Profile Pictures Won’t Sync
• Scenario
– Content was migrated to a new Farm
– A new URL is has been used in the new Farm
– The Sync job from the Profile Sync Service is only syncing some
pictures while others remain broken links pointing to the old URL
• You already tried stsadm –o listolddatabases and deleteolddatabases
commands with no change

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

23
Where to begin?
• We need to fix all user profiles in the Site
Collection
– Where are the WSS profiles in the Site Collection?
• “_layouts/15/people.aspx?MembershipGroupId=0”

• How do I find the Picture Field for each user?

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

24
Ugh…

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

25
Scrubbing Profile Pictures

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

26
Results
• Don’t forget to run
– Stsadm –o sync –deleteolddatabases 0
• Make sure your logged on user has Full Control Permissions to the User Profile Service App

– Then wait an hour, or manually run the “User Profile Service Application - User Profile to
SharePoint Full Synchronization” Timer Job from Central Admin

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

27
Backup Content to File System

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

28
Backup Content to File System

•If it is in SharePoint it can be taken out of
SharePoint
•Scenario
–“I need a backup of just the documents in a Site
Collection so I can start over.”

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

29
Writing Binary Data

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

30
Saving Files to the File System

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

31
Results

RACKSPACE® HOSTING

|

WWW.RACKSPACE.COM

32
RACKSPACE® HOSTING
US SALES: 1-800-961-2888

RACKSPACE® HOSTING

|

© RACKSPACE US, INC.

|

|

|

5000 WALZEM ROAD

|

US SUPPORT: 1-800-961-4454

SAN ANTONIO, TX 78218
|

WWW.RACKSPACE.COM

RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN TH E UNITED STATES AND OTHER COUNTRIES.

|

WWW.RACKSPACE.COM

Mais conteúdo relacionado

Mais procurados

SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection Boundary
SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection BoundarySPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection Boundary
SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection BoundaryJonathan Ralton
 
Back to the Basics: SharePoint Fundamentals by Joel Oleson
Back to the Basics: SharePoint Fundamentals by Joel OlesonBack to the Basics: SharePoint Fundamentals by Joel Oleson
Back to the Basics: SharePoint Fundamentals by Joel OlesonJoel Oleson
 
Data sources in share point 2010
Data sources in share point 2010Data sources in share point 2010
Data sources in share point 2010Kathy Hughes
 
NOW I Get it!! What SharePoint IS and why I need it
NOW I Get it!! What SharePoint IS and why I need itNOW I Get it!! What SharePoint IS and why I need it
NOW I Get it!! What SharePoint IS and why I need itMark Rackley
 
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenariosECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenariosEuropean Collaboration Summit
 
DotNetNuke Urls - Best practice for administrators, editors and developers
DotNetNuke Urls - Best practice for administrators, editors and developersDotNetNuke Urls - Best practice for administrators, editors and developers
DotNetNuke Urls - Best practice for administrators, editors and developersbrchapman
 
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public SitesSharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public SitesBrian Culver
 
SharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSachchin Annam
 
Share point development 101
Share point development 101Share point development 101
Share point development 101Becky Bertram
 
So you’re building an intranet
So you’re building an intranetSo you’re building an intranet
So you’re building an intranetBecky Bertram
 
SEF2013 - Create a Business Solution, Step by Step, with No Managed Code
SEF2013 - Create a Business Solution, Step by Step, with No Managed CodeSEF2013 - Create a Business Solution, Step by Step, with No Managed Code
SEF2013 - Create a Business Solution, Step by Step, with No Managed CodeMarc D Anderson
 
Migration to SharePoint 2013 – Theory and practice
Migration to SharePoint 2013 – Theory and practiceMigration to SharePoint 2013 – Theory and practice
Migration to SharePoint 2013 – Theory and practiceSPC Adriatics
 
Making sense of Microsoft Identities in a Hybrid world
Making sense of Microsoft Identities in a Hybrid worldMaking sense of Microsoft Identities in a Hybrid world
Making sense of Microsoft Identities in a Hybrid worldJason Himmelstein
 
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...Wendy Neal
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery GuideMark Rackley
 
What’s new in SharePoint 2016 Beta 2?
What’s new in SharePoint 2016 Beta 2?What’s new in SharePoint 2016 Beta 2?
What’s new in SharePoint 2016 Beta 2?Jason Himmelstein
 
First look at SharePoint 2013
First look at SharePoint 2013First look at SharePoint 2013
First look at SharePoint 2013Adis Jugo
 
SharePoint 2010 for Business, Intranet Leadership Forum
SharePoint 2010 for Business, Intranet Leadership ForumSharePoint 2010 for Business, Intranet Leadership Forum
SharePoint 2010 for Business, Intranet Leadership ForumKathy Hughes
 

Mais procurados (20)

SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection Boundary
SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection BoundarySPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection Boundary
SPSNYC17 - The Wall: Overcoming SharePoint’s Site Collection Boundary
 
Back to the Basics: SharePoint Fundamentals by Joel Oleson
Back to the Basics: SharePoint Fundamentals by Joel OlesonBack to the Basics: SharePoint Fundamentals by Joel Oleson
Back to the Basics: SharePoint Fundamentals by Joel Oleson
 
Data sources in share point 2010
Data sources in share point 2010Data sources in share point 2010
Data sources in share point 2010
 
NOW I Get it!! What SharePoint IS and why I need it
NOW I Get it!! What SharePoint IS and why I need itNOW I Get it!! What SharePoint IS and why I need it
NOW I Get it!! What SharePoint IS and why I need it
 
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenariosECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
ECS19 - Rodrigo Pinto - Migrating to Teams, real cases and scenarios
 
DotNetNuke Urls - Best practice for administrators, editors and developers
DotNetNuke Urls - Best practice for administrators, editors and developersDotNetNuke Urls - Best practice for administrators, editors and developers
DotNetNuke Urls - Best practice for administrators, editors and developers
 
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public SitesSharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
SharePoint Saturday Kansas 2015 - Building Killer Office365 Public Sites
 
SharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbiesSharePoint 2010 Basics for newbies
SharePoint 2010 Basics for newbies
 
Share point development 101
Share point development 101Share point development 101
Share point development 101
 
Beginners SharePoint introduction
Beginners SharePoint introductionBeginners SharePoint introduction
Beginners SharePoint introduction
 
Share point 2010
Share point 2010Share point 2010
Share point 2010
 
So you’re building an intranet
So you’re building an intranetSo you’re building an intranet
So you’re building an intranet
 
SEF2013 - Create a Business Solution, Step by Step, with No Managed Code
SEF2013 - Create a Business Solution, Step by Step, with No Managed CodeSEF2013 - Create a Business Solution, Step by Step, with No Managed Code
SEF2013 - Create a Business Solution, Step by Step, with No Managed Code
 
Migration to SharePoint 2013 – Theory and practice
Migration to SharePoint 2013 – Theory and practiceMigration to SharePoint 2013 – Theory and practice
Migration to SharePoint 2013 – Theory and practice
 
Making sense of Microsoft Identities in a Hybrid world
Making sense of Microsoft Identities in a Hybrid worldMaking sense of Microsoft Identities in a Hybrid world
Making sense of Microsoft Identities in a Hybrid world
 
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
Enhance the Usability of Your SharePoint Site with JSLink #Collab365 #C365114...
 
The SharePoint & jQuery Guide
The SharePoint & jQuery GuideThe SharePoint & jQuery Guide
The SharePoint & jQuery Guide
 
What’s new in SharePoint 2016 Beta 2?
What’s new in SharePoint 2016 Beta 2?What’s new in SharePoint 2016 Beta 2?
What’s new in SharePoint 2016 Beta 2?
 
First look at SharePoint 2013
First look at SharePoint 2013First look at SharePoint 2013
First look at SharePoint 2013
 
SharePoint 2010 for Business, Intranet Leadership Forum
SharePoint 2010 for Business, Intranet Leadership ForumSharePoint 2010 for Business, Intranet Leadership Forum
SharePoint 2010 for Business, Intranet Leadership Forum
 

Semelhante a Getting Everything You want Out of SharePoint

ArcGIS Open Data - Best Practices
ArcGIS Open Data - Best PracticesArcGIS Open Data - Best Practices
ArcGIS Open Data - Best Practicessidewalkballet
 
SharePoint Development Workshop
SharePoint Development WorkshopSharePoint Development Workshop
SharePoint Development WorkshopMJ Ferdous
 
Cloudy SharePoint Applications
Cloudy SharePoint ApplicationsCloudy SharePoint Applications
Cloudy SharePoint ApplicationsInnoTech
 
Integrate External Data with the Business Connectivity Services by Tom Resing...
Integrate External Data with the Business Connectivity Services by Tom Resing...Integrate External Data with the Business Connectivity Services by Tom Resing...
Integrate External Data with the Business Connectivity Services by Tom Resing...SPTechCon
 
OpenStack Paris 2014 - Federation, are we there yet ?
OpenStack Paris 2014 - Federation, are we there yet ?OpenStack Paris 2014 - Federation, are we there yet ?
OpenStack Paris 2014 - Federation, are we there yet ?Tim Bell
 
Getting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChiGetting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChiDrew Madelung
 
Custom Development for SharePoint
Custom Development for SharePointCustom Development for SharePoint
Custom Development for SharePointTalbott Crowell
 
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...Amazon Web Services
 
SPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastSPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastMark Rackley
 
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint BeastMark Rackley
 
The Path Through SharePoint Migrations
The Path Through SharePoint MigrationsThe Path Through SharePoint Migrations
The Path Through SharePoint MigrationsBrian Caauwe
 
Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Talbott Crowell
 
SharePoint in the City: Houston
SharePoint in the City: HoustonSharePoint in the City: Houston
SharePoint in the City: HoustonJustinKingRAX
 
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Toni Frankola
 
Understanding and Customizing the Modern SharePoint Experience
Understanding and Customizing the Modern SharePoint ExperienceUnderstanding and Customizing the Modern SharePoint Experience
Understanding and Customizing the Modern SharePoint ExperiencePatrick Tucker
 
Building an App Forms Business Solution - Penelope Coventry
Building an App Forms Business Solution - Penelope CoventryBuilding an App Forms Business Solution - Penelope Coventry
Building an App Forms Business Solution - Penelope CoventrySPC Adriatics
 
Introduction and What’s new in SharePoint 2013
Introduction and What’s new in SharePoint 2013Introduction and What’s new in SharePoint 2013
Introduction and What’s new in SharePoint 2013MJ Ferdous
 

Semelhante a Getting Everything You want Out of SharePoint (20)

ArcGIS Open Data - Best Practices
ArcGIS Open Data - Best PracticesArcGIS Open Data - Best Practices
ArcGIS Open Data - Best Practices
 
SharePoint Development Workshop
SharePoint Development WorkshopSharePoint Development Workshop
SharePoint Development Workshop
 
Cloudy SharePoint Applications
Cloudy SharePoint ApplicationsCloudy SharePoint Applications
Cloudy SharePoint Applications
 
Integrate External Data with the Business Connectivity Services by Tom Resing...
Integrate External Data with the Business Connectivity Services by Tom Resing...Integrate External Data with the Business Connectivity Services by Tom Resing...
Integrate External Data with the Business Connectivity Services by Tom Resing...
 
OpenStack Paris 2014 - Federation, are we there yet ?
OpenStack Paris 2014 - Federation, are we there yet ?OpenStack Paris 2014 - Federation, are we there yet ?
OpenStack Paris 2014 - Federation, are we there yet ?
 
Getting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChiGetting Started with Site Designs and Site Scripts - SPSChi
Getting Started with Site Designs and Site Scripts - SPSChi
 
Custom Development for SharePoint
Custom Development for SharePointCustom Development for SharePoint
Custom Development for SharePoint
 
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
AWS Webcast - How to Architect and Deploy a Multi-Tier SharePoint Server Farm...
 
SPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint BeastSPSDenver - Wrapping Your Head Around the SharePoint Beast
SPSDenver - Wrapping Your Head Around the SharePoint Beast
 
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast2/15/2012 - Wrapping Your Head Around the SharePoint Beast
2/15/2012 - Wrapping Your Head Around the SharePoint Beast
 
The Path Through SharePoint Migrations
The Path Through SharePoint MigrationsThe Path Through SharePoint Migrations
The Path Through SharePoint Migrations
 
DeveloperWeek 2014
DeveloperWeek 2014DeveloperWeek 2014
DeveloperWeek 2014
 
Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?Custom Development in SharePoint – What are my options now?
Custom Development in SharePoint – What are my options now?
 
SharePoint in the City: Houston
SharePoint in the City: HoustonSharePoint in the City: Houston
SharePoint in the City: Houston
 
Where to save my data, for devs!
Where to save my data, for devs!Where to save my data, for devs!
Where to save my data, for devs!
 
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
Prepare for SharePoint 2016 - IT Pro best practices for managing your SharePo...
 
Understanding and Customizing the Modern SharePoint Experience
Understanding and Customizing the Modern SharePoint ExperienceUnderstanding and Customizing the Modern SharePoint Experience
Understanding and Customizing the Modern SharePoint Experience
 
Building an App Forms Business Solution - Penelope Coventry
Building an App Forms Business Solution - Penelope CoventryBuilding an App Forms Business Solution - Penelope Coventry
Building an App Forms Business Solution - Penelope Coventry
 
Introduction and What’s new in SharePoint 2013
Introduction and What’s new in SharePoint 2013Introduction and What’s new in SharePoint 2013
Introduction and What’s new in SharePoint 2013
 
Sharepoint
SharepointSharepoint
Sharepoint
 

Último

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DaySri Ambati
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostZilliz
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 

Último (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo DayH2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
H2O.ai CEO/Founder: Sri Ambati Keynote at Wells Fargo Day
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage CostLeverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
Leverage Zilliz Serverless - Up to 50X Saving for Your Vector Storage Cost
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 

Getting Everything You want Out of SharePoint

  • 1. Getting Everything You Ever Wanted Out of SharePoint (via PowerShell) SharePoint User Group - Cambridge, UK Presenter: Corey Burke December 2, 2013 1
  • 2. Who does this guy think he is? • Corey Burke • Architect, trainer, speaker and founding member of the SharePoint Hosting Services team at Rackspace: The Open Cloud Company • Contributing author - Professional SharePoint 2013 Administration • Technical Editor - Beginning SharePoint 2013: Building Business Solutions • Recovering anti-socialite • Email • Corey.Burke@rackspace.co.uk • Blog • http://blog.sharepoint-voodoo.net • Twitter • http://twitter.com/cburke007 • Find me on LinkedIn • http://uk.linkedin.com/in/cburke007/ RACKSPACE® HOSTING | WWW.RACKSPACE.COM
  • 3. About Rackspace • The largest collective team of SharePoint MVPs. • Over 1,000,000 dedicated seats. • The largest collection of published SharePoint authors. • The most 'Microsoft Hosting Partner of the Year' awards (4) • The most published SharePoint books. (23 and counting) • The only company with Fanatical Support® (As stated by Microsoft at the 'Worldwide Hosting Summit', May 23rd, 2013.) RACKSPACE® HOSTING | WWW.RACKSPACE.COM 3
  • 4. The Good Stuff… What we’ll be covering today – Evolution of SharePoint Administration – API: Who needs it? – What do YOU want? – Where to begin? – Getting your hands dirty – Using what you got RACKSPACE® HOSTING | WWW.RACKSPACE.COM 4
  • 5. Evolution of SharePoint Administration Pre-SharePoint Era SharePoint Era 2001/2003 2007 STSADM .NET API 2010/2013 CMDLets RACKSPACE® HOSTING | WWW.RACKSPACE.COM 5
  • 9. The Who, What, Why’s of the API’s • What is it? – Application Programming Interface • Who needs it? – Developers – SysAdmins – DevOps • Why should I care? – Direct .NET access from compatible languages • Which includes PowerShell – Ultimate Flexibility RACKSPACE® HOSTING | WWW.RACKSPACE.COM 9
  • 10. Ewww! I’m not touching that! “I’m an Infrastructure person. I never touch the APIs…” RACKSPACE® HOSTING | WWW.RACKSPACE.COM 10
  • 11. What Do YOU Want? Farm Build Version List ID Documents Data Output (File System, Text, CSV, XML, etc…) RACKSPACE® HOSTING | WWW.RACKSPACE.COM 11
  • 12. Choosing an Entry Point Farm Servers Web Applications Databases • SPFarm • Farm Configuration • SPServer • Server Properties, Server Roles (Web Front End, App, Database) • SPWebApplication • Web Application Properties, Content • SPContentDatabase • Content Databases & Properties Site Collections • SPSite Webs • SPWeb Lists Items • Site Collection Properties, RootWeb, Collection of Webs • Web Properties, Team Sites, Publishing Portals, etc. • Document Libraries, Discussions, Surveys, etc. • Documents, Images, Contacts, Pages, etc. RACKSPACE® HOSTING | WWW.RACKSPACE.COM 12
  • 13. Getting Your Hands Dirty • Data Hunting Tools – Get-Help – Get-Member • Examples: – Properties vs. Methods RACKSPACE® HOSTING | WWW.RACKSPACE.COM 13
  • 14. What do I do with my data? RACKSPACE® HOSTING | WWW.RACKSPACE.COM 14
  • 15. Migrating Content Databases RACKSPACE® HOSTING | WWW.RACKSPACE.COM 15
  • 16. Migrating Content •Scenario –You are an Administrator tasked with rapidly migrating 50+ content databases: • Development Farm to Test Farm • 2007 to 2010 • 2010 to 2013 RACKSPACE® HOSTING | WWW.RACKSPACE.COM 16
  • 18. Gathering Data • What information do we need to replicate the configuration? – Web Application URL – Content Database name – Status (Started or Stopped) – A means of storing the configuration information (CSV, Text, XML, etc.) RACKSPACE® HOSTING | WWW.RACKSPACE.COM 18
  • 19. Getting the data RACKSPACE® HOSTING | WWW.RACKSPACE.COM 19
  • 21. Putting It All Back In RACKSPACE® HOSTING | WWW.RACKSPACE.COM 21
  • 23. WSS Profile Pictures Won’t Sync • Scenario – Content was migrated to a new Farm – A new URL is has been used in the new Farm – The Sync job from the Profile Sync Service is only syncing some pictures while others remain broken links pointing to the old URL • You already tried stsadm –o listolddatabases and deleteolddatabases commands with no change RACKSPACE® HOSTING | WWW.RACKSPACE.COM 23
  • 24. Where to begin? • We need to fix all user profiles in the Site Collection – Where are the WSS profiles in the Site Collection? • “_layouts/15/people.aspx?MembershipGroupId=0” • How do I find the Picture Field for each user? RACKSPACE® HOSTING | WWW.RACKSPACE.COM 24
  • 26. Scrubbing Profile Pictures RACKSPACE® HOSTING | WWW.RACKSPACE.COM 26
  • 27. Results • Don’t forget to run – Stsadm –o sync –deleteolddatabases 0 • Make sure your logged on user has Full Control Permissions to the User Profile Service App – Then wait an hour, or manually run the “User Profile Service Application - User Profile to SharePoint Full Synchronization” Timer Job from Central Admin RACKSPACE® HOSTING | WWW.RACKSPACE.COM 27
  • 28. Backup Content to File System RACKSPACE® HOSTING | WWW.RACKSPACE.COM 28
  • 29. Backup Content to File System •If it is in SharePoint it can be taken out of SharePoint •Scenario –“I need a backup of just the documents in a Site Collection so I can start over.” RACKSPACE® HOSTING | WWW.RACKSPACE.COM 29
  • 30. Writing Binary Data RACKSPACE® HOSTING | WWW.RACKSPACE.COM 30
  • 31. Saving Files to the File System RACKSPACE® HOSTING | WWW.RACKSPACE.COM 31
  • 33. RACKSPACE® HOSTING US SALES: 1-800-961-2888 RACKSPACE® HOSTING | © RACKSPACE US, INC. | | | 5000 WALZEM ROAD | US SUPPORT: 1-800-961-4454 SAN ANTONIO, TX 78218 | WWW.RACKSPACE.COM RACKSPACE® AND FANATICAL SUPPORT® ARE SERVICE MARKS OF RACKSPACE US, INC. REGISTERED IN TH E UNITED STATES AND OTHER COUNTRIES. | WWW.RACKSPACE.COM

Notas do Editor

  1. Setup:Plug in ClickerConnect to SP and SQL VMsOn SP VM:Load up PowerShell ISELoad Scripts from ”C:\Users\BizSP_SP_Admin\Downloads\GettingEverythingSP”Load up CA and http://portal.contoso.comLoad up login text fileMake sure ”C:\Users\BizSP_SP_Admin\Downloads\GettingEverythingSP\Backups” is emptyOn SQL VM:Load up SQL MGMT StudioIcebreakers:I’ve been in London since January, but this is my first time in Cambridge. Beautiful city, I will have to bring my family back here for holiday.
  2. Rackspace has been around for about 15 years now. I joined the company about 7 years ago. In the last 5 years that we have been selling and supporting SharePoint hosting, we have grown to over 1,000,000 dedicated seats. MS announced at the Worldwide Hosting Summit that we now carry 85% of the global dedicated hosting license. That’s huge given our relative newness compared to some of our SharePoint hosting competitors.Last year we expanded our Consulting Services capabilities with the acquisition of SharePoint 911. Anyone familiar with Shane Young, Todd Klindt, Laura Rogers, Jennifer Mason, Randy Drisgill, John Ross, all of these folks now work for Rackspace, giving us the largest collection of SharePoint MVPs under one roof, helping us to grow and improve our support capabilities.So that’s Rackspace, enough of the boring self glorification and onto…
  3. Anyone here not familiar with PowerShell? Don’t worry I won’t hold it against you… I try to keep my example code as simple as possible, but when we get to the demos feel free to ask questions if anything doesn’t make sense.
  4. Pre-SharePoint era – Marked by heavy use of file shares, printing and filing of emails, swinging from trees, you get the idea… This was not man’s greatest period of collaboratiom. No fire was discovered here…STSADM – The first tool created for Admins to manage SharePoint configuration. Crude, but occasionally effective, not flexible in the slightest. PowerShell was also being developed during this time….NET API – With the advent of SharePoint 2007 came a robust .NET API. With the success of PowerShell and native .NET API access the world began to open up.CMDLETs – With the release of SharePoint 2010, PowerShell reached maturity within the product with native PowerShell CMDLets that do most of the API access work, greatly simplifying data access and manipulation.
  5. Results: We can only go as far as listing the solutions in the Farm in a plain text output.
  6. Here you can see that accessing through cmdlets does not differ greatly from the .NET example.Two main differences from .NET1) How PowerShell gains access into the SP API2) How you create an objectCMDLets handle getting the objects for youCMDLets are still limiting in that there are not CMDLets for every type of object you may need to interact withDownside Example: No CMDLets exist for setting People Picker settings
  7. What:Objects are created from a blueprint, called a class, that defines the base properties that every object created from it will contain. This clicker has properties, such as color, weight, laser intensity. The clicker also has methods for taking input, such as the on/off switch, left/right mouse click, etc.Somewhere, someone has a blueprint that defines how this clicker is to be built so that the methods always work exactly the same, but the properties, such as color, can be changed.The API defines and provides the methods by which one interacts with the objects derived from the class definitions. Such as Clicker1.LeftClick() method performs an action. Clicker1.Color = “Blue” changes a property.Why:Coder’s – To be able to write new applications or new functionality for an existing application frameworkSysAdmins – Troubleshooting, AutomationExamples: Migrating user profiles from one domain to another, Finding solutions to problems that used to require lengthy, and expensive, engagements with Microsoft
  8. This is my reaction whenever an Admin says this out loud. A good rule of thumb, even of you HATE programming of any kind, is to never say this out loud.It shows a fundamental lack of understanding of what an API is, and the benefits that scripted automation can bring to a business and the Admin role.Often the Admins are the ONLY ones in a business capable of improving Administration processes and tools through scripting.If you manage any kind of software infrastructure, you NEED scripting languages and knowledge of how APIs work.
  9. What is it you need out of SharePoint?Documents?ListID? Farm Build Version? Your solution packages because you lost the originals? List of activated Features?If it is stored in the configuration database, content, service applications, etc, it will be available through PowerShell, even if it is not available through Central Administration or the SharePoint Site.This is the easy part, unless you are troubleshooting in which case this may in fact be the hardest part. For our current position in this presentation we will assume this is the easy part.
  10. My most often used format is to store data in CSV file format. CSV stands for Comma Separated Values, and is just a plain text file that contains rows of related data, much like a table in a SQL database, or worksheet in Excel, separated by commas into “columns”.
  11. Or any combination of the above, or maybe you are building a same version Farm to migrate to because something irreparable is wrong with your live Farm.Working with 50 or more content databases can be a daunting task, especially if they are spread across multiple web applicationsYou could go buy some tool to do this, but when you are faced with getting something like this accomplished quickly you have to be able to think on your feet or you could have some sleepless nights ahead. Using PowerShell can save your company some money, impress your peers and get you home in time for dinnerWith a minimal amount of effort you can have this done in no time.
  12. Get-WebAppDBs.ps1
  13. Get-AllSPDocs.ps1