office 365: sharepoint online 31 may 2014. 2 | sharepoint saturday calgary – 31 may 2014 about me...

36
Office 365: SharePoint Online Jason Kaczor SharePoint Consultant/Architect – MVP Illumination Industries Ltd. SPO - Management & Operations with PowerShell 31 May 2014

Upload: alicia-alexandrina-jacobs

Post on 30-Dec-2015

217 views

Category:

Documents


1 download

TRANSCRIPT

Office 365: SharePoint OnlineJason KaczorSharePoint Consultant/Architect – MVPIllumination Industries Ltd.

SPO - Management & Operations with PowerShell

31 May 2014

2 | SharePoint Saturday Calgary – 31 MAY 2014

About Me – Jason Kaczor

[email protected]

http://jason.kaczor.ca+1(403)827-7276

3 | SharePoint Saturday Calgary – 31 MAY 2014

Session Agenda

Office 365 & SPO Fundamentals Getting Started Basics Scenarios & Tasks Problems & Limitations Extensions Resources Questions & Answers

Office 365 & SPO Fundamentals

6 | SharePoint Saturday Calgary – 31 MAY 2014

High-level Office 365 Architecture

Customer Premises

AD

MS Online Directory Sync

Provisioningplatform

LyncOnline

SharePoint Online

Exchange Online

Active Directory Federation Server

2.0

Trust

IdPDirectory

Store

Admin Portal/PowerShell

Authentication platform

IdP

7 | SharePoint Saturday Calgary – 31 MAY 2014

SharePoint Online Administration

Customer Does

Governance

Site Collection

Admin

Site Admin

User Profiles

Apps, Extensibilit

y

Microsoft

Does

Server

Admin

SQL Admin

Central

Admin

External

Access

Backup,

Restore

Getting Started

10 | SharePoint Saturday Calgary – 31 MAY 2014

SPO PowerShell Configuration Set-ExecutionPolicy

Run-As Administrator

11 | SharePoint Saturday Calgary – 31 MAY 2014

SPO PowerShell ISE Configuration

Basics

13 | SharePoint Saturday Calgary – 31 MAY 2014

Connecting to SPO

Connect-SPOService Connects to SharePoint Online -Url – URL to SharePoint Online tenant

administration i.e.: https://mytenant-admin.sharepoint.com

-Credential – complete username of a global administrator i.e.: [email protected] –Url https://mytenant-

admin.sharepoint.com –Credential [email protected]

14 | SharePoint Saturday Calgary – 31 MAY 2014

Available SPO commands

get-command -noun spo* | Group Noun SPOUser {Add-SPOUser, Get-SPOUser, Remove-SPOUser, Set-SPOUser} SPOService {Connect-SPOService, Disconnect-SPOService} SPOAppErrors {Get-SPOAppErrors} SPOAppInfo {Get-SPOAppInfo} SPODeletedSite {Get-SPODeletedSite, Remove-SPODeletedSite, Restore-SPODeletedSite} SPOExternalUser {Get-SPOExternalUser, Remove-SPOExternalUser} SPOSite {Get-SPOSite, New-SPOSite, Remove-SPOSite, Repair-SPOSite...} SPOSiteGroup {Get-SPOSiteGroup, New-SPOSiteGroup, Remove-SPOSiteGroup, Set-SPOSiteGroup} SPOTenant {Get-SPOTenant, Set-SPOTenant} SPOTenantLogEntry {Get-SPOTenantLogEntry} SPOTenantLogLastAvaila... {Get-SPOTenantLogLastAvailableTimeInUtc} SPOWebTemplate {Get-SPOWebTemplate} SPOUpgradeEvaluationSite {Request-SPOUpgradeEvaluationSite}

Index of Windows PowerShell for SharePoint Online cmdlets

15 | SharePoint Saturday Calgary – 31 MAY 2014

Available SPO commands get-command –module Microsoft.Online.SharePoint.PowerShell Connect-SPOService

Disconnect-SPOService

Get-SPOAppErrors Get-SPOAppInfo Get-SPODeletedSite

Add-SPOUser Get-SPOExternalUser Get-SPOUser Remove-

SPOExternalUser Remove-SPOUser Set-SPOUser

Get-SPOSiteGroup Remove-SPOSiteGroup New-SPOSiteGroup Set-SPOSiteGroup

Get-SPOSite New-SPOSite Remove-SPODeletedSite Remove-SPOSite Repair-SPOSite Restore-SPODeletedSite Set-SPOSite Get-SPOWebTemplate Test-SPOSite Upgrade-SPOSite

Request-SPOUpgradeEvaluationSite

Get-SPOTenant Get-SPOTenantLogEntry Get-

SPOTenantLogLastAvailableTimeInUtc Set-SPOTenant

Scenarios & Tasks

17 | SharePoint Saturday Calgary – 31 MAY 2014

Working with Site Collections

Get-SPOSite Returns one or more site collections -Identity (optional) – URL of site collection -Limit (optional) – number of site collections to

return Default 200, ALL can be used

Get-SPOSiteGet-SPOSite -Detailed

Get-SPOSite –Identity https://mytenant.sharepoint.com

Get-SPOSite –Filter {Url -like “*term*}

18 | SharePoint Saturday Calgary – 31 MAY 2014

Creating new Site Collections New-SPOSite

Creates a site collection -Url – full URL of new site collection -Owner – full user name of site owner

i.e.: [email protected]

New-SPOSite -Url https://mytenant.sharepoint.com/sites/mynewsite -Owner [email protected] -StorageQuota 1000 -Title "My new site collection“ –Template STS#0

19 | SharePoint Saturday Calgary – 31 MAY 2014

Deleting Site Collections

Remove-SPOSite Moves site collection to recycle bin -Identity – URL of site collection Supports –confirm and -NoWait

Remove-SPOSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait

20 | SharePoint Saturday Calgary – 31 MAY 2014

Restoring Site Collections

Restore-SPODeletedSite Restores a site collection from the recycle bin -Identity – URL of site collection

Restore-SPODeletedSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait

21 | SharePoint Saturday Calgary – 31 MAY 2014

Modifying Site Collections

Set-SPOSite Sets or updates properties of a site collection -Identity – URL of site collection

Set-SPOSite –Identity http://mytenant.sharepoint.com/sites/sitename -NoWait

22 | SharePoint Saturday Calgary – 31 MAY 2014

Upgrading Site Collections

Test-SPOSite -Identity – URL of site collection

Upgrade-SPOSite -Identity – URL of site collection -V2VUpgrade – Required to do a version

upgrade

Test-SPOSite -Identity http://mytenant.sharepoint.com/sites/sitenameUpgrade-SPOSite -Identity http://mytenant.sharepoint.com/sites/sitename -V2VUpgrade

23 | SharePoint Saturday Calgary – 31 MAY 2014

Working with Users Get-SPOUser

-Site – full URL of site collection

Add-SPOUser Adds existing user to a SharePoint Group -Site – full URL of site collection -LoginName – specific user account name -Group – SharePoint group

Get-SPOUser -Site https://mytenant.sharepoint.com -LoginName [email protected] Add-SPOUser -Site https://mytenant.sharepoint.com -LoginName [email protected] -Group "Team Site Members“

Demo

Problems & Limitations

28 | SharePoint Saturday Calgary – 31 MAY 2014

Missing functionality…

Administration & manipulation of… Features Properties Content Types Lists, Libraries, Items & Folders Taxonomy, Terms & Managed Metadata Search

Extensions

30 | SharePoint Saturday Calgary – 31 MAY 2014

Extensions – Gary LaPointe http://blog.falchionconsulting.com/index.php/downloa

ds/ Export-

SPOSearchConfiguration Import-

SPOSearchConfiguration

Get-SPOContextSite Get-SPOWeb New-SPOWeb Remove-SPOWeb Set-SPOWeb Set-SPOWebTheme

Disable-SPOFeature Enable-SPOFeature Get-SPOFeature

Get-SPOFile Get-SPOFolder Get-SPOList New-SPOFile New-SPOList New-SPOListFolder New-SPOListItem Remove-SPOList Set-SPOList

Get-SPOContentType

Get-SPOEventReceiver

Export-SPOTaxonomy

Get-SPOTerm Get-SPOTermGroup Get-SPOTermSet Get-SPOTermStore Import-

SPOTaxonomy New-

SPOTermGroup New-SPOTermSet

31 | SharePoint Saturday Calgary – 31 MAY 2014

Extensions – SPO Automation http://sharepointonlineautomationcmdlets.codeplex.c

om/

AddSPOSolution AddSPDesignPackage

InstallSPOSolution UninstallSPOSolution UpdateSPOSolution

NewSPOWeb GetSPOWeb RemoveAllSPOWebs

ExportMMS SetMMSField

AddSPOListCT NewSPOList RemoveSPOList

SetLookupField PublishSPOFiles PublishSPOFile

ImportSPOListItemsFromCSV

SetSPOListItemField RemoveAllCTFromList

ImportSPOSearchConfig SPOWebClient

InstallSPOWebFeature UnintallSPOFeature InstallSPOSiteFeature UninstallSPOSiteFeature

AddSPONavigationItem ClearSPONavigation GetSPONavigation SetSPONavigationInherits RemoveSPONavigationNodesByN

ame

Questions & Answers

{Something to say?}

34 | SharePoint Saturday Calgary – 31 MAY 2014

Thanks to Our Sponsors

35 | SharePoint Saturday Calgary – 31 MAY 2014

Special Thanks

SharePoint Training Courses http://www.neweratechnology.com/courses/sharepoint.aspx

Calgary SharePoint User Group

CalSPUG

36 | SharePoint Saturday Calgary – 31 MAY 2014

Housekeeping

Join us for SharePint Time: 4:15 PM – 6:00 PM Location: TBD