SPCA2013 - Automating SharePoint

Post on 09-May-2015

343 views 0 download

description

Automating SharePoint

Transcript of SPCA2013 - Automating SharePoint

> Automating SharePointPlay nicely, mmmkay

Father Husband

Speaker ♥ Microsoft

http://appcogs.com

http://sebmatthews.net

@sebmatthews

http://linkedin.com/in/sebmatthews

seb@appcogs.com Cloud Guy

Dog Dad

All About Seb

Change of Plan…

Change in SharePoint…

Change in delivery

Tools

System Center

• Application Controller• Configuration Manager• Data Protection Manager• Operations Manager• Orchestrator• Service Manager• Virtual Machine Manager

PowerShell

• Deployment• Configuration• Management• Monitoring• Administration• Development• …Cookery, games, etc.

System Center

Tight Integration

• Management Packs• Monitoring & rules

• Data Protection Manager

• Fully Supported

Management Packs

• Install for all components of farm• Windows, SQL Server, IIS, SharePoint, etc.

• Require (complex) configuration• Rules engine

SP2013 Management Pack

Loose Integration

• Service Templates (VMM)• VHD build (SCO)• Runbooks (SCO)

• Not supportable

Runbooks

• Orchestrate activities• Full automation• Support for script (PoSh) and code

Runbooks

Nirvana

• SCOM Alerting >• VMM Service template >• SCO database migration >• SCO content database migration >• SCO network updates >

PowerShell

Tools for “free”

• Windows PowerShell• SQL PowerShell• SharePoint PowerShell• IIS PowerShell• Etc.

Rules for PowerShell

• Do 1 thing at a time• Naming is important• Dispose• Try {} Catch {} Finally {}• http://bigseb.me/trycatch

• Comment• Test

Stepping Out of the Box

SPInstallerLite

• Lightweight SharePoint install/config

• “Minature” AutoSPInstaller

CPU Utilisation

• $result = 1; foreach ($number in 1..2147483647) {$result = $result * $number};

Get-XHeaderHealth

Scheduled Tasks

Leverage Generic PowerShell

Wrap Up

Wrap Up

• System Centre• PowerShell

• I’ll email/tweet each of you the video links

Father Husband

Speaker ♥ Microsoft

http://appcogs.com

http://sebmatthews.net

@sebmatthews

http://linkedin.com/in/sebmatthews

seb@appcogs.com Cloud Guy

Dog Dad

Thanks for being here…

http://bigseb.me/sebdecks