SlideShare a Scribd company logo
Power Shell and Sharepoint 2013
Consultant
Certification
Mohan Arumugam
Technologies Specialist
E-mail : moohanan@gmail.com
Phone : +91 99406 53876
Profile
Blogger
Trainer
Who Am I ?
Power Shell and Sharepoint 2013
Power Shell and Sharepoint 2013
 PowerShell is a tool that's intended to replace the
Command Prompt and deliver more power and
control over the Windows operating system.
 That's why we decided to get a taste of PowerShell
and then explain to all our readers what this tool is,
why it is so powerful and who tends to use it more
often. Let's see what PowerShell is and what you can
do with it.
 Microsoft designed Windows PowerShell as a tool that helps you
automate and quickly solve a lot of tedious administration tasks.
 PowerShell's capabilities allow you to simplify and automate tedious
and repetitive tasks by creating scripts and combining multiple
commands together.
 If you are a network administrator, you will find that PowerShell very
helpful in working with Active Directory . Given that it contains
hundreds of customizable commands, which are called cmdlets,
the degree to which PowerShell can help you become more
productive is extremely high.
 PowerShell is a tool that's intended to replace the Command
Prompt and deliver more power and control over the Windows
operating system.
 That's why we decided to get a taste of PowerShell and then
explain to all our readers what this tool is, why it is so powerful and
who tends to use it more often. Let's see what PowerShell is and
what you can do with it.
Power Shell and Sharepoint 2013
 When you couple this powerful tool with a complex application
such as SharePoint it really opens a world of interesting and creative
ways of troubleshooting and data gathering. However, most
struggle to determine where to start.
• SPFarm
• Farm ConfigurationFarm
• SPServer
• Server Properities, Server Roles(Web Front End, App, Database)
Server
• SPWebApplication
• Web Application Properities, Content
Web Application
• SPContentDatabase
• Content Database & Properities
Database
• SPWeb
• Web Properites, Team Sites, Publishing Portals.
Site Collection
• Web Properties, Team Sites, Publishing Portals.
Webs
• Document Libraries , Customer List, Discussion, Calendars, etc.,
Lists
• Any list items
Items
 PowerShell does not Load SharePoint cmdLets
 First Add SharePoint SnapIn to Load SharePoint cmdLets
Power Shell and Sharepoint 2013
 Creating Site Collections and Sites
 Moving Site Collections
 Restoring Site Collection
 Creating Web Applications
 Working with Services
 Managing Service Applications
Upgrade to SharePoint
2013
 No Change with same commands
 Add-SPSolution
 Install-SPSolution
 Activates solution for web application(s)
 -CompatibilityLevel (14, 15) – Installs solution to 14 / 15 hive
Add-SPSolution –LiteralPath C:solution.wsp
Install-SPSolution -Identity solution.wsp -GACDeployment -CompatibilityLevel 15
 Cmdlets to:
 Manage Health Checks
 Upgrade
 Request Evaluation Site Collections
 Copy
 View upgrade status with Get-SPSite
 Test-SPSite
 Runs Site Collection Health Checks
 All rules by default or specify specific rule
 Repair-SPSite
 Automatically repairs all issues
Test-SPSite –Identity http://server/sitecollection
Repair-SPSite –Identity http://server/sitecollection
 Request-SPUpgradeEvaluationSite
 Requests an upgrade evaluation site collection
 Target URL auto-generated
 -Email – specify whether site collection owner and farm admin receive notification
Request-SPUpgradeEvaluationSite http://server/sitecollection
 Copy-SPSite
 Copies a site collection to a new URL
 -Identity – source URL
 -TargetUrl – destination URL
 -DestinationDatabase (optional) – name of new database
Copy-SPSite http://server/sitecollection -DestinationDatabase MyContentDb -TargetUrl
http://server/sitecollection2
Power Shell and Sharepoint 2013
 Most Service Applications deployed by:
 Creating a Service
 Creating a Proxy
 Parameters vary by application
 Service Application Name
 Database
 Application Pool
 Most SAs take time to provision
 Provides translation capability with Bing Translation
New-SPTranslationServiceApplication –Name TranslationService -ApplicationPool “SharePoint Web
Services Default” –DatabaseServer MyDatabaseServer –DatabaseName TranslationServiceDatabase
New-SPTranslationServiceApplicationProxy –Name TranslationServiceProxy –ServiceApplication
TranslationService –DefaultProxyGroup
 Provides aggregation between SharePoint, Exchange,
and Project
New-SPWorkManagementServiceApplication –Name "WM Service App" -ApplicationPool “SharePoint
Web Services Default”
New-SPWorkManagementServiceApplicationProxy -name "WMServiceProxy" -ServiceApplication
“WM Service App”
 You need to Provision the Services from Services on
Server Page
$ExcelService = Get-SPServiceInstance | Where TypeName -like "Excel*"
$ExcelService.Provision()
Power Shell and Sharepoint 2013
 AppPackage – physical file containing the app (.app)
 App – instance of an app on a given subsite
 .Id propery used often in cmdlets
 Import-SPAppPackage – imports app package
 -Path – location of .app file
 -Site – URL of site collection
 -Source – MarketPlace / ObjectModel / CorporateCatalog / DeveloperSite
 Install-SPApp – installs instance of an app
 -Identity – app object
 -Web – URL to the site
$spapppack = Import-SPAppPackage -Path .myapp.app -Site http://dev.adventure.com -Source ObjectModel
$appinstance = Install-SPApp -Web http://dev.adventure.com -Identity $spapppack
 Get-SPAppInstance – returns an instance of an app
 -Identity – app instance
 -Web – URL of site
 Export-SPAppPackage – exports app package from
content db
 -App – id of app
 -Path – path of exported file
$appinstance = Get-SPAppInstance –Web http://dev.adventure.com | Where-Object { $_.Title -eq “AppTitle" }
Export-SPAppPackage –App $appinstance.App –Path .myexportedapp.app
 Update-SPAppInstance – updates an instance of an app
 Uninstall-SPAppInstance – removes an instance of an app
 Get a reference to the previous app instance
 Import new App Package
 Update app instance using new app package
$appInstance = Get-SPAppInstance -web http://dev.adventure.com | Where-Object { $_.Title -eq “AppTitle" }
$appv2 = Import-SPAppPackage -Path .myapp-v2.app -Site http://dev.adventure.com -Source ObjectModel
Update-SPAppInstance – Identity $appInstance –App $appv2
#To Uninstall an App
Uninstall-SPAppInstance -Identity $app
Power Shell and Sharepoint 2013
.NET Framework
4.5
Windows
Management
Framework 3.0
Microsoft Online
Services Sign-in
Assistant
All the latest
updates
Windows Azure AD
Module for Windows
PowerShell 32-bit
SharePoint Online
Management Shell
Windows Azure AD
Module for Windows
PowerShell 64-bit
 Connect-SPOService
 Connects to SharePoint Online
 -Url – URL to SharePoint Online tenant administration
 i.e.: https://sp-admin.domain.com
 -Credential – complete username of a global administrator
 i.e.: admin@domain.onmicrosoft.com
Connect-SPOService –Url https://SP-admin.domain.com –Credential
admin@mytenant.onmicrosoft.com
 Get-Command –Module
Microsoft.Online.SharePoint.PowerShell
 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
 -Filter (optional) – server side filtering using { }
 Used in lieu of –Identity
 Note case sensitive operators (-like, -notlike, -eq, -ne)
 -Detailed – Returns non-default properties such as CompatibilityLevel
Get-SPOSite
Get-SPOSite -Detailed
Get-SPOSite –Identity https://sp.domain.com
Get-SPOSite –Filter {Url -like “*term*}
 New-SPOSite
 Creates a site collection
 -Url – full URL of new site collection
 -Owner – full user name of site owner
 i.e.: admin@sp.onmicrosoft.com
 -StorageQuota – in MB
 -Template (Optional) – i.e.: STS#0
 Get-SPOWebTemplate – returns all installed site templates
 -Title (Optional) – name of site collection
New-SPOSite -Url https://sp.domain.com/sites/mynewsite -Owner user@domain.com -
StorageQuota 1000 -Title "My new site collection“ –Template STS#0
 Remove-SPOSite
 Moves site collection to recycle bin
 -Identity – URL of site collection
 Supports –confirm and -NoWait
Remove-SPOSite –Identity http://sp.domain.com/sites/sitename -NoWait
 Restore-SPODeletedSite
 Restores a site collection from the recycle bin
 -Identity – URL of site collection
Restore-SPODeletedSite –Identity http://sp.domain.com.com/sites/sitename -NoWait
 Test-SPOSite
 -Identity – URL of site collection
 Upgrade-SPOSite
 -Identity – URL of site collection
 -V2VUpgrade – Required to do a version upgrade
 -QueueOnly – only add the site collection to the upgrade queue
Test-SPOSite -Identity http://sp.domain.com/sites/sitename
Upgrade-SPOSite -Identity http://sp.domain.com/sites/sitename -V2VUpgrade
 Get-SPOUser
 -Site – full URL of site collection
 -LoginName (Optional) – specific user account name
 i.e.: admin@sp.domain.com
 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://sp.domain.com.com -LoginName user@domain.com
Add-SPOUser -Site https://sp.domain.com.com -LoginName user@domain.com -Group "Team Site
Members“
Power Shell and Sharepoint 2013
Mohan Arumugam
Technologies Specialist
E-mail : moohanan@gmail.com
Phone : +91 99406 53876
Profile
Thank You
Ad

More Related Content

What's hot (20)

WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISEWINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
Hitesh Mohapatra
 
Cloud Automation with Opscode Chef
Cloud Automation with Opscode ChefCloud Automation with Opscode Chef
Cloud Automation with Opscode Chef
Sri Ram
 
PowerShell Fundamentals
PowerShell FundamentalsPowerShell Fundamentals
PowerShell Fundamentals
mozdzen
 
Cloud Automation with Opscode Chef
Cloud Automation with Opscode ChefCloud Automation with Opscode Chef
Cloud Automation with Opscode Chef
Sri Ram
 
Extending Oracle E-Business Suite with Ruby on Rails
Extending Oracle E-Business Suite with Ruby on RailsExtending Oracle E-Business Suite with Ruby on Rails
Extending Oracle E-Business Suite with Ruby on Rails
Raimonds Simanovskis
 
Intoduction to Play Framework
Intoduction to Play FrameworkIntoduction to Play Framework
Intoduction to Play Framework
Knoldus Inc.
 
DevOps and Chef
DevOps and ChefDevOps and Chef
DevOps and Chef
PiXeL16
 
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middlewareUsing and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Alona Mekhovova
 
OpenERP and Perl
OpenERP and PerlOpenERP and Perl
OpenERP and Perl
OpusVL
 
AnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and TricksAnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and Tricks
jimi-c
 
Serve Meals, Not Ingredients (ChefConf 2015)
Serve Meals, Not Ingredients (ChefConf 2015)Serve Meals, Not Ingredients (ChefConf 2015)
Serve Meals, Not Ingredients (ChefConf 2015)
ThirdWaveInsights
 
DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016
Maarten Balliauw
 
Refactoring terraform
Refactoring terraformRefactoring terraform
Refactoring terraform
Nell Shamrell-Harrington
 
Python Google Cloud Function with CORS
Python Google Cloud Function with CORSPython Google Cloud Function with CORS
Python Google Cloud Function with CORS
RapidValue
 
Getting Started with WP-CLI, a tool to automate your life
Getting Started with WP-CLI, a tool to automate your lifeGetting Started with WP-CLI, a tool to automate your life
Getting Started with WP-CLI, a tool to automate your life
AJ Morris
 
An Introduction to Solr
An Introduction to SolrAn Introduction to Solr
An Introduction to Solr
tomhill
 
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Making Symofny shine with Varnish - SymfonyCon Madrid 2014Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Barel Barelon
 
5-WebServers.ppt
5-WebServers.ppt5-WebServers.ppt
5-WebServers.ppt
webhostingguy
 
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
jimi-c
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
Widoyo PH
 
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISEWINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
Hitesh Mohapatra
 
Cloud Automation with Opscode Chef
Cloud Automation with Opscode ChefCloud Automation with Opscode Chef
Cloud Automation with Opscode Chef
Sri Ram
 
PowerShell Fundamentals
PowerShell FundamentalsPowerShell Fundamentals
PowerShell Fundamentals
mozdzen
 
Cloud Automation with Opscode Chef
Cloud Automation with Opscode ChefCloud Automation with Opscode Chef
Cloud Automation with Opscode Chef
Sri Ram
 
Extending Oracle E-Business Suite with Ruby on Rails
Extending Oracle E-Business Suite with Ruby on RailsExtending Oracle E-Business Suite with Ruby on Rails
Extending Oracle E-Business Suite with Ruby on Rails
Raimonds Simanovskis
 
Intoduction to Play Framework
Intoduction to Play FrameworkIntoduction to Play Framework
Intoduction to Play Framework
Knoldus Inc.
 
DevOps and Chef
DevOps and ChefDevOps and Chef
DevOps and Chef
PiXeL16
 
Using and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middlewareUsing and scaling Rack and Rack-based middleware
Using and scaling Rack and Rack-based middleware
Alona Mekhovova
 
OpenERP and Perl
OpenERP and PerlOpenERP and Perl
OpenERP and Perl
OpusVL
 
AnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and TricksAnsibleFest 2014 - Role Tips and Tricks
AnsibleFest 2014 - Role Tips and Tricks
jimi-c
 
Serve Meals, Not Ingredients (ChefConf 2015)
Serve Meals, Not Ingredients (ChefConf 2015)Serve Meals, Not Ingredients (ChefConf 2015)
Serve Meals, Not Ingredients (ChefConf 2015)
ThirdWaveInsights
 
DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016DNS for Developers - NDC Oslo 2016
DNS for Developers - NDC Oslo 2016
Maarten Balliauw
 
Python Google Cloud Function with CORS
Python Google Cloud Function with CORSPython Google Cloud Function with CORS
Python Google Cloud Function with CORS
RapidValue
 
Getting Started with WP-CLI, a tool to automate your life
Getting Started with WP-CLI, a tool to automate your lifeGetting Started with WP-CLI, a tool to automate your life
Getting Started with WP-CLI, a tool to automate your life
AJ Morris
 
An Introduction to Solr
An Introduction to SolrAn Introduction to Solr
An Introduction to Solr
tomhill
 
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Making Symofny shine with Varnish - SymfonyCon Madrid 2014Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
Barel Barelon
 
What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015What's New in v2 - AnsibleFest London 2015
What's New in v2 - AnsibleFest London 2015
jimi-c
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
Widoyo PH
 

Similar to Power Shell and Sharepoint 2013 (20)

Monitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 ServerMonitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 Server
Learning SharePoint
 
Power shell
Power shellPower shell
Power shell
Rajkiran Swain
 
An IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
An IT Pro Guide to Deploying and Managing SharePoint 2013 AppsAn IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
An IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
Randy Williams
 
SPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking GlassSPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking Glass
Brian Caauwe
 
PowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking GlassPowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking Glass
Brian Caauwe
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and Events
Mohan Arumugam
 
Charla desarrollo de apps con sharepoint y office 365
Charla   desarrollo de apps con sharepoint y office 365Charla   desarrollo de apps con sharepoint y office 365
Charla desarrollo de apps con sharepoint y office 365
Luis Valencia
 
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
Comunidade Portuguesa de SharePoiint
 
SPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking GlassSPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking Glass
Brian Caauwe
 
DEVICE CHANNELS
DEVICE CHANNELSDEVICE CHANNELS
DEVICE CHANNELS
Assaf Biton
 
Make the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShellMake the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShell
Virtual Affairs
 
Windows power shell for sharepoint online & office 365
Windows power shell for sharepoint online & office 365Windows power shell for sharepoint online & office 365
Windows power shell for sharepoint online & office 365
Prashant Kumar Singh
 
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
European Collaboration Summit
 
Migrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical PerspectiveMigrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical Perspective
John Calvert
 
Share point hosted add ins munich
Share point hosted add ins munichShare point hosted add ins munich
Share point hosted add ins munich
Sonja Madsen
 
Introduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST APIIntroduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST API
Rob Windsor
 
Design Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John HardyDesign Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John Hardy
ManageIQ
 
Introducción al SharePoint Framework SPFx
Introducción al SharePoint Framework SPFxIntroducción al SharePoint Framework SPFx
Introducción al SharePoint Framework SPFx
SUGES (SharePoint Users Group España)
 
SPFx Webinar Loading SharePoint data in a SPFx Webpart
SPFx Webinar Loading SharePoint data in a SPFx WebpartSPFx Webinar Loading SharePoint data in a SPFx Webpart
SPFx Webinar Loading SharePoint data in a SPFx Webpart
Jenkins NS
 
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
Nik Patel
 
Monitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 ServerMonitoring and Maintaining SharePoint 2013 Server
Monitoring and Maintaining SharePoint 2013 Server
Learning SharePoint
 
An IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
An IT Pro Guide to Deploying and Managing SharePoint 2013 AppsAn IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
An IT Pro Guide to Deploying and Managing SharePoint 2013 Apps
Randy Williams
 
SPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking GlassSPSTC - PowerShell - Through the SharePoint Looking Glass
SPSTC - PowerShell - Through the SharePoint Looking Glass
Brian Caauwe
 
PowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking GlassPowerShell: Through the SharePoint Looking Glass
PowerShell: Through the SharePoint Looking Glass
Brian Caauwe
 
SharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and EventsSharePoint Object Model, Web Services and Events
SharePoint Object Model, Web Services and Events
Mohan Arumugam
 
Charla desarrollo de apps con sharepoint y office 365
Charla   desarrollo de apps con sharepoint y office 365Charla   desarrollo de apps con sharepoint y office 365
Charla desarrollo de apps con sharepoint y office 365
Luis Valencia
 
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
SPugPt Meeting 35: Manage govern and drive adoption of share point online wit...
Comunidade Portuguesa de SharePoiint
 
SPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking GlassSPSSTL - PowerShell - Through the SharePoint Looking Glass
SPSSTL - PowerShell - Through the SharePoint Looking Glass
Brian Caauwe
 
Make the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShellMake the hosting company life easier with SharePoint PowerShell
Make the hosting company life easier with SharePoint PowerShell
Virtual Affairs
 
Windows power shell for sharepoint online & office 365
Windows power shell for sharepoint online & office 365Windows power shell for sharepoint online & office 365
Windows power shell for sharepoint online & office 365
Prashant Kumar Singh
 
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
ECS 19 - Chris O'Brien - The hit list - Office 365 dev techniques you should ...
European Collaboration Summit
 
Migrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical PerspectiveMigrating to SharePoint 2013 - Business and Technical Perspective
Migrating to SharePoint 2013 - Business and Technical Perspective
John Calvert
 
Share point hosted add ins munich
Share point hosted add ins munichShare point hosted add ins munich
Share point hosted add ins munich
Sonja Madsen
 
Introduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST APIIntroduction to the SharePoint Client Object Model and REST API
Introduction to the SharePoint Client Object Model and REST API
Rob Windsor
 
Design Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John HardyDesign Summit - RESTful API Overview - John Hardy
Design Summit - RESTful API Overview - John Hardy
ManageIQ
 
SPFx Webinar Loading SharePoint data in a SPFx Webpart
SPFx Webinar Loading SharePoint data in a SPFx WebpartSPFx Webinar Loading SharePoint data in a SPFx Webpart
SPFx Webinar Loading SharePoint data in a SPFx Webpart
Jenkins NS
 
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...SharePoint Fest Chicago 2015  - Anatomy of configuring provider hosted add-in...
SharePoint Fest Chicago 2015 - Anatomy of configuring provider hosted add-in...
Nik Patel
 
Ad

More from Mohan Arumugam (6)

SQL Server Integration Services and Analysis Services
SQL Server Integration Services and Analysis ServicesSQL Server Integration Services and Analysis Services
SQL Server Integration Services and Analysis Services
Mohan Arumugam
 
Introduction to Sharepoint 2013 Devlopment
Introduction to Sharepoint 2013 DevlopmentIntroduction to Sharepoint 2013 Devlopment
Introduction to Sharepoint 2013 Devlopment
Mohan Arumugam
 
Introduction - DotNet 4.0 Intro by Mohan
Introduction - DotNet 4.0 Intro by MohanIntroduction - DotNet 4.0 Intro by Mohan
Introduction - DotNet 4.0 Intro by Mohan
Mohan Arumugam
 
Python - List, Dictionaries, Tuples,Sets
Python - List, Dictionaries, Tuples,SetsPython - List, Dictionaries, Tuples,Sets
Python - List, Dictionaries, Tuples,Sets
Mohan Arumugam
 
Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)
Mohan Arumugam
 
Project Management Challenges
Project Management Challenges Project Management Challenges
Project Management Challenges
Mohan Arumugam
 
SQL Server Integration Services and Analysis Services
SQL Server Integration Services and Analysis ServicesSQL Server Integration Services and Analysis Services
SQL Server Integration Services and Analysis Services
Mohan Arumugam
 
Introduction to Sharepoint 2013 Devlopment
Introduction to Sharepoint 2013 DevlopmentIntroduction to Sharepoint 2013 Devlopment
Introduction to Sharepoint 2013 Devlopment
Mohan Arumugam
 
Introduction - DotNet 4.0 Intro by Mohan
Introduction - DotNet 4.0 Intro by MohanIntroduction - DotNet 4.0 Intro by Mohan
Introduction - DotNet 4.0 Intro by Mohan
Mohan Arumugam
 
Python - List, Dictionaries, Tuples,Sets
Python - List, Dictionaries, Tuples,SetsPython - List, Dictionaries, Tuples,Sets
Python - List, Dictionaries, Tuples,Sets
Mohan Arumugam
 
Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)Python-Yesterday Today Tomorrow(What's new?)
Python-Yesterday Today Tomorrow(What's new?)
Mohan Arumugam
 
Project Management Challenges
Project Management Challenges Project Management Challenges
Project Management Challenges
Mohan Arumugam
 
Ad

Recently uploaded (20)

Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Exceptional Behaviors: How Frequently Are They Tested? (AST 2025)
Andre Hora
 
Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025Avast Premium Security Crack FREE Latest Version 2025
Avast Premium Security Crack FREE Latest Version 2025
mu394968
 
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
F-Secure Freedome VPN 2025 Crack Plus Activation  New VersionF-Secure Freedome VPN 2025 Crack Plus Activation  New Version
F-Secure Freedome VPN 2025 Crack Plus Activation New Version
saimabibi60507
 
Kubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptxKubernetes_101_Zero_to_Platform_Engineer.pptx
Kubernetes_101_Zero_to_Platform_Engineer.pptx
CloudScouts
 
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...Explaining GitHub Actions Failures with Large Language Models Challenges, In...
Explaining GitHub Actions Failures with Large Language Models Challenges, In...
ssuserb14185
 
Revolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptxRevolutionizing Residential Wi-Fi PPT.pptx
Revolutionizing Residential Wi-Fi PPT.pptx
nidhisingh691197
 
Adobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest VersionAdobe Illustrator Crack FREE Download 2025 Latest Version
Adobe Illustrator Crack FREE Download 2025 Latest Version
kashifyounis067
 
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
TestMigrationsInPy: A Dataset of Test Migrations from Unittest to Pytest (MSR...
Andre Hora
 
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
Interactive odoo dashboards for sales, CRM , Inventory, Invoice, Purchase, Pr...
AxisTechnolabs
 
Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)Who Watches the Watchmen (SciFiDevCon 2025)
Who Watches the Watchmen (SciFiDevCon 2025)
Allon Mureinik
 
Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]Get & Download Wondershare Filmora Crack Latest [2025]
Get & Download Wondershare Filmora Crack Latest [2025]
saniaaftab72555
 
Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025Adobe After Effects Crack FREE FRESH version 2025
Adobe After Effects Crack FREE FRESH version 2025
kashifyounis067
 
The Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdfThe Significance of Hardware in Information Systems.pdf
The Significance of Hardware in Information Systems.pdf
drewplanas10
 
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Proactive Vulnerability Detection in Source Code Using Graph Neural Networks:...
Ranjan Baisak
 
Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025Adobe Lightroom Classic Crack FREE Latest link 2025
Adobe Lightroom Classic Crack FREE Latest link 2025
kashifyounis067
 
Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025Adobe Master Collection CC Crack Advance Version 2025
Adobe Master Collection CC Crack Advance Version 2025
kashifyounis067
 
How to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud PerformanceHow to Optimize Your AWS Environment for Improved Cloud Performance
How to Optimize Your AWS Environment for Improved Cloud Performance
ThousandEyes
 
Douwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License codeDouwan Crack 2025 new verson+ License code
Douwan Crack 2025 new verson+ License code
aneelaramzan63
 
Maxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINKMaxon CINEMA 4D 2025 Crack FREE Download LINK
Maxon CINEMA 4D 2025 Crack FREE Download LINK
younisnoman75
 
Download Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With LatestDownload Wondershare Filmora Crack [2025] With Latest
Download Wondershare Filmora Crack [2025] With Latest
tahirabibi60507
 

Power Shell and Sharepoint 2013

  • 2. Consultant Certification Mohan Arumugam Technologies Specialist E-mail : [email protected] Phone : +91 99406 53876 Profile Blogger Trainer Who Am I ?
  • 5.  PowerShell is a tool that's intended to replace the Command Prompt and deliver more power and control over the Windows operating system.  That's why we decided to get a taste of PowerShell and then explain to all our readers what this tool is, why it is so powerful and who tends to use it more often. Let's see what PowerShell is and what you can do with it.
  • 6.  Microsoft designed Windows PowerShell as a tool that helps you automate and quickly solve a lot of tedious administration tasks.  PowerShell's capabilities allow you to simplify and automate tedious and repetitive tasks by creating scripts and combining multiple commands together.  If you are a network administrator, you will find that PowerShell very helpful in working with Active Directory . Given that it contains hundreds of customizable commands, which are called cmdlets, the degree to which PowerShell can help you become more productive is extremely high.
  • 7.  PowerShell is a tool that's intended to replace the Command Prompt and deliver more power and control over the Windows operating system.  That's why we decided to get a taste of PowerShell and then explain to all our readers what this tool is, why it is so powerful and who tends to use it more often. Let's see what PowerShell is and what you can do with it.
  • 9.  When you couple this powerful tool with a complex application such as SharePoint it really opens a world of interesting and creative ways of troubleshooting and data gathering. However, most struggle to determine where to start.
  • 10. • SPFarm • Farm ConfigurationFarm • SPServer • Server Properities, Server Roles(Web Front End, App, Database) Server • SPWebApplication • Web Application Properities, Content Web Application • SPContentDatabase • Content Database & Properities Database • SPWeb • Web Properites, Team Sites, Publishing Portals. Site Collection • Web Properties, Team Sites, Publishing Portals. Webs • Document Libraries , Customer List, Discussion, Calendars, etc., Lists • Any list items Items
  • 11.  PowerShell does not Load SharePoint cmdLets  First Add SharePoint SnapIn to Load SharePoint cmdLets
  • 13.  Creating Site Collections and Sites  Moving Site Collections  Restoring Site Collection  Creating Web Applications  Working with Services  Managing Service Applications
  • 15.  No Change with same commands  Add-SPSolution  Install-SPSolution  Activates solution for web application(s)  -CompatibilityLevel (14, 15) – Installs solution to 14 / 15 hive Add-SPSolution –LiteralPath C:solution.wsp Install-SPSolution -Identity solution.wsp -GACDeployment -CompatibilityLevel 15
  • 16.  Cmdlets to:  Manage Health Checks  Upgrade  Request Evaluation Site Collections  Copy  View upgrade status with Get-SPSite
  • 17.  Test-SPSite  Runs Site Collection Health Checks  All rules by default or specify specific rule  Repair-SPSite  Automatically repairs all issues Test-SPSite –Identity http://server/sitecollection Repair-SPSite –Identity http://server/sitecollection
  • 18.  Request-SPUpgradeEvaluationSite  Requests an upgrade evaluation site collection  Target URL auto-generated  -Email – specify whether site collection owner and farm admin receive notification Request-SPUpgradeEvaluationSite http://server/sitecollection
  • 19.  Copy-SPSite  Copies a site collection to a new URL  -Identity – source URL  -TargetUrl – destination URL  -DestinationDatabase (optional) – name of new database Copy-SPSite http://server/sitecollection -DestinationDatabase MyContentDb -TargetUrl http://server/sitecollection2
  • 21.  Most Service Applications deployed by:  Creating a Service  Creating a Proxy  Parameters vary by application  Service Application Name  Database  Application Pool  Most SAs take time to provision
  • 22.  Provides translation capability with Bing Translation New-SPTranslationServiceApplication –Name TranslationService -ApplicationPool “SharePoint Web Services Default” –DatabaseServer MyDatabaseServer –DatabaseName TranslationServiceDatabase New-SPTranslationServiceApplicationProxy –Name TranslationServiceProxy –ServiceApplication TranslationService –DefaultProxyGroup
  • 23.  Provides aggregation between SharePoint, Exchange, and Project New-SPWorkManagementServiceApplication –Name "WM Service App" -ApplicationPool “SharePoint Web Services Default” New-SPWorkManagementServiceApplicationProxy -name "WMServiceProxy" -ServiceApplication “WM Service App”
  • 24.  You need to Provision the Services from Services on Server Page $ExcelService = Get-SPServiceInstance | Where TypeName -like "Excel*" $ExcelService.Provision()
  • 26.  AppPackage – physical file containing the app (.app)  App – instance of an app on a given subsite  .Id propery used often in cmdlets
  • 27.  Import-SPAppPackage – imports app package  -Path – location of .app file  -Site – URL of site collection  -Source – MarketPlace / ObjectModel / CorporateCatalog / DeveloperSite  Install-SPApp – installs instance of an app  -Identity – app object  -Web – URL to the site $spapppack = Import-SPAppPackage -Path .myapp.app -Site http://dev.adventure.com -Source ObjectModel $appinstance = Install-SPApp -Web http://dev.adventure.com -Identity $spapppack
  • 28.  Get-SPAppInstance – returns an instance of an app  -Identity – app instance  -Web – URL of site  Export-SPAppPackage – exports app package from content db  -App – id of app  -Path – path of exported file $appinstance = Get-SPAppInstance –Web http://dev.adventure.com | Where-Object { $_.Title -eq “AppTitle" } Export-SPAppPackage –App $appinstance.App –Path .myexportedapp.app
  • 29.  Update-SPAppInstance – updates an instance of an app  Uninstall-SPAppInstance – removes an instance of an app  Get a reference to the previous app instance  Import new App Package  Update app instance using new app package $appInstance = Get-SPAppInstance -web http://dev.adventure.com | Where-Object { $_.Title -eq “AppTitle" } $appv2 = Import-SPAppPackage -Path .myapp-v2.app -Site http://dev.adventure.com -Source ObjectModel Update-SPAppInstance – Identity $appInstance –App $appv2 #To Uninstall an App Uninstall-SPAppInstance -Identity $app
  • 31. .NET Framework 4.5 Windows Management Framework 3.0 Microsoft Online Services Sign-in Assistant All the latest updates Windows Azure AD Module for Windows PowerShell 32-bit SharePoint Online Management Shell Windows Azure AD Module for Windows PowerShell 64-bit
  • 32.  Connect-SPOService  Connects to SharePoint Online  -Url – URL to SharePoint Online tenant administration  i.e.: https://sp-admin.domain.com  -Credential – complete username of a global administrator  i.e.: [email protected] Connect-SPOService –Url https://SP-admin.domain.com –Credential [email protected]
  • 34.  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  -Filter (optional) – server side filtering using { }  Used in lieu of –Identity  Note case sensitive operators (-like, -notlike, -eq, -ne)  -Detailed – Returns non-default properties such as CompatibilityLevel Get-SPOSite Get-SPOSite -Detailed Get-SPOSite –Identity https://sp.domain.com Get-SPOSite –Filter {Url -like “*term*}
  • 35.  New-SPOSite  Creates a site collection  -Url – full URL of new site collection  -Owner – full user name of site owner  i.e.: [email protected]  -StorageQuota – in MB  -Template (Optional) – i.e.: STS#0  Get-SPOWebTemplate – returns all installed site templates  -Title (Optional) – name of site collection New-SPOSite -Url https://sp.domain.com/sites/mynewsite -Owner [email protected] - StorageQuota 1000 -Title "My new site collection“ –Template STS#0
  • 36.  Remove-SPOSite  Moves site collection to recycle bin  -Identity – URL of site collection  Supports –confirm and -NoWait Remove-SPOSite –Identity http://sp.domain.com/sites/sitename -NoWait
  • 37.  Restore-SPODeletedSite  Restores a site collection from the recycle bin  -Identity – URL of site collection Restore-SPODeletedSite –Identity http://sp.domain.com.com/sites/sitename -NoWait
  • 38.  Test-SPOSite  -Identity – URL of site collection  Upgrade-SPOSite  -Identity – URL of site collection  -V2VUpgrade – Required to do a version upgrade  -QueueOnly – only add the site collection to the upgrade queue Test-SPOSite -Identity http://sp.domain.com/sites/sitename Upgrade-SPOSite -Identity http://sp.domain.com/sites/sitename -V2VUpgrade
  • 39.  Get-SPOUser  -Site – full URL of site collection  -LoginName (Optional) – specific user account name  i.e.: [email protected]  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://sp.domain.com.com -LoginName [email protected] Add-SPOUser -Site https://sp.domain.com.com -LoginName [email protected] -Group "Team Site Members“
  • 41. Mohan Arumugam Technologies Specialist E-mail : [email protected] Phone : +91 99406 53876 Profile Thank You