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

Connect to Office 365 SharePoint Online using PowerShell

September 1, 2017 · by dave.webb · in Office 365, PowerShell

Here is how to connect to your SharePoint Online environment using PowerShell and the Connect-SPOService cmdlet: Download the SharePoint Online Management Shell Run the SharePoint Online Management Shell (there will be an icon in the Start Menu) Connect using the…

Export-SPWeb error – there is not enough space on the disk

April 14, 2017 · by dave.webb · in PowerShell, SharePoint 2013, Troubleshooting

I am exporting a document library from a SharePoint 2013 site using the Export-SPWeb PowerShell cmdlet but after a few minutes it generates the following error: Export-SPWeb : There is not enough space on the disk. The document library is…

SharePoint 2016 – The upgraded database schema doesn’t match the TargetSchema

January 9, 2017 · by dave.webb · in SharePoint 2016, Upgrading

  I have not had much exposure to SharePoint 2016 yet and have only just applied my first cumulative update.  Unfortunately it didn’t go well and failed.  Here is what I pulled out of the log file: ERR          Failed to…

SharePoint 2013 – “An unexpected error has occurred” when configuring incoming E-Mail settings

December 11, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Troubleshooting

While trying to enable incoming E-mail settings for a document library within SharePoint 2013 I received the following error: An unexpected error has occurred. I used the Merge-SPLogFile PowerShell cmdlet to collate all log entries relating to the correlation ID.  The…

Using the Merge-SPLogFile cmdlet

Using the Merge-SPLogFile cmdlet

November 24, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Tips and Tricks, Troubleshooting

The Merge-SPLogFile cmdlet can be a real time saver if you need to search the SharePoint logs and there are multiple servers in the farm.  I regularly use it to search for a specific correlation ID and then open the…

Rename a Service Application's database using PowerShell

Rename a Service Application’s database using PowerShell

November 18, 2016 · by dave.webb · in PowerShell, SharePoint 2013, SharePoint 2016, Tips and Tricks

While setting up a SharePoint 2013 DR environment I needed to script the renaming of databases used by service applications.  Utilising the Get-SPServiceApplication cmdlet I was able to achieve this with just three lines: $sa = Get-SPServiceApplication -Name “Managed Metadata…

SharePoint 2013 - create a new eDiscovery Centre

SharePoint 2013 – create a new eDiscovery Centre

June 17, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Tips and Tricks, Uncategorized

An eDiscovery site can be used to search for, preserve and export content in SharePoint, Exchange or Skype for Business (formerly known as Lync). To create a new site collection for eDiscovery just follow these simple steps: Log in to…

Excel Services is not currently able to load workbooks

June 16, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Troubleshooting

If you find that Excel Services is not able to load workbooks in your SharePoint site then this may be due to insufficient permissions.  You may also see the following error in your logs: System.Data.SqlClient.SqlException: Cannot open database “SP2013_Content_Portal” required…

Recreate the sitemap in the configuration database

Recreate the sitemap in the configuration database

May 20, 2016 · by dave.webb · in PowerShell, SharePoint 2013, Troubleshooting

I have just installed the latest cumulative update on the servers in my SharePoint 2013 DR farm.  Unfortunately, after installing the binaries, running the products configuration wizard failed.  After looking through the logs it became evident that the site map…

Backup a service application using PowerShell

Backup a service application using PowerShell

May 1, 2016 · by dave.webb · in Backups, Service Applications, SharePoint 2013

If you are making changes to a service application and need to take a backup beforehand this can be done quickly using the Backup-SPFarm cmdlet.  Here is an example of how to backup the Managed Metadata service application and proxy:…

1 2 … 6 Next →

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

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

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