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

More Related Content

PPTX
Introduction to windows power shell in sharepoint 2010
PDF
Tobias Nyholm "Deep dive into Symfony 4 internals"
PPTX
NZ Code Camp 2011 PowerShell + SharePoint
PDF
8 Minutes On Rack
PDF
Plugin-based software design with Ruby and RubyGems
PPTX
Alfresco devcon 2019: How to track user activities without using the audit fu...
PDF
Scalable web application architecture
PDF
Ansible : what's ansible & use case by REX
Introduction to windows power shell in sharepoint 2010
Tobias Nyholm "Deep dive into Symfony 4 internals"
NZ Code Camp 2011 PowerShell + SharePoint
8 Minutes On Rack
Plugin-based software design with Ruby and RubyGems
Alfresco devcon 2019: How to track user activities without using the audit fu...
Scalable web application architecture
Ansible : what's ansible & use case by REX

What's hot (20)

PDF
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
PDF
Cloud Automation with Opscode Chef
PPTX
PowerShell Fundamentals
PDF
Cloud Automation with Opscode Chef
PDF
Extending Oracle E-Business Suite with Ruby on Rails
PPT
Intoduction to Play Framework
PPTX
DevOps and Chef
KEY
Using and scaling Rack and Rack-based middleware
PDF
OpenERP and Perl
PDF
AnsibleFest 2014 - Role Tips and Tricks
PDF
Serve Meals, Not Ingredients (ChefConf 2015)
PPTX
DNS for Developers - NDC Oslo 2016
PDF
Refactoring terraform
PDF
Python Google Cloud Function with CORS
PDF
Getting Started with WP-CLI, a tool to automate your life
PPT
An Introduction to Solr
PPTX
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
PPT
5-WebServers.ppt
PDF
What's New in v2 - AnsibleFest London 2015
ODP
Software Project Management
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
Cloud Automation with Opscode Chef
PowerShell Fundamentals
Cloud Automation with Opscode Chef
Extending Oracle E-Business Suite with Ruby on Rails
Intoduction to Play Framework
DevOps and Chef
Using and scaling Rack and Rack-based middleware
OpenERP and Perl
AnsibleFest 2014 - Role Tips and Tricks
Serve Meals, Not Ingredients (ChefConf 2015)
DNS for Developers - NDC Oslo 2016
Refactoring terraform
Python Google Cloud Function with CORS
Getting Started with WP-CLI, a tool to automate your life
An Introduction to Solr
Making Symofny shine with Varnish - SymfonyCon Madrid 2014
5-WebServers.ppt
What's New in v2 - AnsibleFest London 2015
Software Project Management
Ad

Similar to Power Shell and Sharepoint 2013 (20)

DOCX
Power shell
PPTX
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
PPTX
Automating Enterprise Application Deployments with PowerShell
PPTX
Using power shell to improve sharepoint management
PPTX
Using PowerShell for SharePoint 2013
PPTX
Make the hosting company life easier with SharePoint PowerShell
PDF
Automating Your Enterprise Application Deployments with PowerShell
PPTX
Intro to PowerShell
PPTX
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
PPTX
SPSSTL - PowerShell - Through the SharePoint Looking Glass
PPTX
Making Life Easier with PowerShell - SPSRIC
PPTX
PowerShell: Through the SharePoint Looking Glass
PPTX
Admin SharePoint 2010 with PowerShell
PPTX
Monitoring and Maintaining SharePoint 2013 Server
PPTX
How to do everything with PowerShell
PDF
Operacion Guinda 2
PPTX
Introduction to PowerShell for SharePoint Admins and Developers - SharePoint ...
PPTX
SharePoint Object Model, Web Services and Events
PPTX
Managing SharePoint Anywhere with Windows PowerShell
PPTX
SPSTC - PowerShell - Through the SharePoint Looking Glass
Power shell
Automating Your Enterprise Application Deployments With PowerShell by Geoff V...
Automating Enterprise Application Deployments with PowerShell
Using power shell to improve sharepoint management
Using PowerShell for SharePoint 2013
Make the hosting company life easier with SharePoint PowerShell
Automating Your Enterprise Application Deployments with PowerShell
Intro to PowerShell
Introduction to PowerShell - Be a PowerShell Hero - SPFest workshop
SPSSTL - PowerShell - Through the SharePoint Looking Glass
Making Life Easier with PowerShell - SPSRIC
PowerShell: Through the SharePoint Looking Glass
Admin SharePoint 2010 with PowerShell
Monitoring and Maintaining SharePoint 2013 Server
How to do everything with PowerShell
Operacion Guinda 2
Introduction to PowerShell for SharePoint Admins and Developers - SharePoint ...
SharePoint Object Model, Web Services and Events
Managing SharePoint Anywhere with Windows PowerShell
SPSTC - PowerShell - Through the SharePoint Looking Glass
Ad

More from Mohan Arumugam (6)

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

Recently uploaded (20)

PDF
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
PDF
Salesforce Agentforce AI Implementation.pdf
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PPTX
Computer Software and OS of computer science of grade 11.pptx
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
PDF
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PPTX
L1 - Introduction to python Backend.pptx
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PDF
Nekopoi APK 2025 free lastest update
PDF
Complete Guide to Website Development in Malaysia for SMEs
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Reimagine Home Health with the Power of Agentic AI​
iTop VPN 6.5.0 Crack + License Key 2025 (Premium Version)
Salesforce Agentforce AI Implementation.pdf
Advanced SystemCare Ultimate Crack + Portable (2025)
Design an Analysis of Algorithms I-SECS-1021-03
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Computer Software and OS of computer science of grade 11.pptx
Monitoring Stack: Grafana, Loki & Promtail
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Design an Analysis of Algorithms II-SECS-1021-03
Tally Prime Crack Download New Version 5.1 [2025] (License Key Free
EN-Survey-Report-SAP-LeanIX-EA-Insights-2025.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
L1 - Introduction to python Backend.pptx
Navsoft: AI-Powered Business Solutions & Custom Software Development
wealthsignaloriginal-com-DS-text-... (1).pdf
Nekopoi APK 2025 free lastest update
Complete Guide to Website Development in Malaysia for SMEs
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Reimagine Home Health with the Power of Agentic AI​

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