Adventures in SharePoint
Menu
  • Home
  • About
  • Download links
  • Glossary
A blog about just that
Browse: Home » Get-SPSite

Prevent site collection administrators from upgrading site collections

February 14, 2016 · by dave.webb · in PowerShell, SharePoint 2010, SharePoint 2013, Upgrading

If you are upgrading from SharePoint 2010 to SharePoint 2013, and you need to prevent site collection administrators from upgrading site collections, then you can disable Self Service Upgrades using the Get-SPSite cmdlet: $portal = Get-SPSite “http://portal.lab.local” $portal.AllowSelfServiceUpgrade = False…

PowerShell script to report the last modified date for all sites within a site collection

January 6, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Tips and Tricks

In response to a post on the Microsoft TechNet Forums I wrote the following script to report the last modified date for all sites within a site collection using the Get-SPSite and Get-SPWeb PowerShell cmdlets. $SiteCollection = Get-SPSite https://yoursite.yourdomain.local ForEach($Site in…

SharePoint 2013 – URL mappings for Host Named Site Collections

December 2, 2015 · by dave.webb · in Configuration, Customisation, PowerShell, SharePoint 2013, Tips and Tricks

The only way to add a URL mapping to a Host Named Site Collection is by using PowerShell and the Set-SPSiteURL cmdlet.  Below is an example of how to add a URL to an existing site collection: $Site = Get-SPSite ‘https://intranet.webbworld.local’…

Moving a site collection between content databases (SharePoint 2013 using PowerShell

Moving a site collection between content databases (SharePoint 2013 using PowerShell

March 11, 2014 · by dave.webb · in Configuration, PowerShell, SharePoint 2013, Tips and Tricks

I have created a new site collection within a SharePoint 2013 web application and want it to use a new content database.  After creating the new content database using the New-SPContentDatabase cmdlet I used the Move-SPSite cmdlet: Move-SPSite <URL> –DestinationDatabase…

Blog search

Polls

Which edition of SharePoint do you use?

View Results

Loading ... Loading ...
  • Polls Archive

Monthly archives

  • August 2019 (1)
  • July 2019 (2)
  • December 2017 (1)
  • October 2017 (1)
  • September 2017 (1)
  • May 2017 (1)
  • April 2017 (1)
  • March 2017 (1)
  • February 2017 (1)
  • January 2017 (6)
  • December 2016 (2)
  • November 2016 (4)
  • October 2016 (1)
  • July 2016 (3)
  • June 2016 (3)
  • May 2016 (3)
  • March 2016 (3)
  • February 2016 (4)
  • January 2016 (13)
  • December 2015 (4)
  • November 2015 (4)
  • October 2015 (3)
  • September 2015 (1)
  • August 2015 (1)
  • July 2015 (2)
  • June 2015 (3)
  • May 2015 (2)
  • April 2015 (1)
  • March 2015 (5)
  • February 2015 (3)
  • January 2015 (5)
  • October 2014 (4)
  • September 2014 (4)
  • July 2014 (3)
  • June 2014 (2)
  • May 2014 (6)
  • April 2014 (4)
  • March 2014 (1)
  • February 2014 (2)
  • January 2014 (1)
  • December 2013 (1)
  • November 2013 (4)
  • October 2013 (5)
  • September 2013 (5)
  • August 2013 (2)
  • July 2013 (1)
  • June 2013 (4)
  • May 2013 (3)
  • April 2013 (2)
  • March 2013 (4)
  • February 2013 (3)
  • December 2012 (6)
  • November 2012 (3)
  • October 2012 (1)
  • May 2012 (1)
  • March 2012 (1)
  • February 2012 (3)
  • January 2012 (2)
  • December 2011 (2)
  • November 2011 (3)
  • July 2011 (3)
  • June 2011 (3)
  • May 2011 (2)
  • April 2011 (2)
  • March 2011 (5)
  • February 2011 (1)
  • January 2011 (4)
  • December 2010 (2)
  • November 2010 (2)
  • October 2010 (4)
  • September 2010 (2)
  • August 2010 (3)
  • July 2010 (6)

Tag Cloud

Service Pack 70-332 Installation Site Collection Service Applications PowerShell SharePoint 2010 AutoSPInstaller SharePoint 2016 Security Upgrade Active Directory Backups Search Database Server Merge-SPLogFile Windows 2012 Document Library Troubleshooting Features Web part SQL Server Error CSS Performance Web Front End Logs User Profiles Servers Get-SPSite SharePoint Designer Permissions Customise Maintenance Library Lists IIS Configuration SharePoint 2013 Windows Explorer ULS Viewer SQL Health Analyzer Central Administration

General links

  • Adventures in Exchange
  • Adventures in VMware
  • GiaKonda IT
  • Windows 2012 Forums

Sharepoint links

  • SharePoint home page
  • SharePoint Support Forum

Copyright © 2025 Adventures in SharePoint

Powered by WordPress and Origin