Category: Tricks

Summary: This blog post describes why you do not need the SharePoint Online Management Shell anymore! If you worked with PowerShell for SharePoint Online in the last year, you had to download a new PowerShell console from: https://www.microsoft.com/en-us/download/details.aspx?id=35588. On the 31st of August 2018 Microsoft released a new* PowerShell module to the PowerShell gallery: Microsoft.Online.SharePoint.PowerShell. This Read more about SharePoint Online Management PowerShell module[…]

Introduction Are you tired of remembering all those cmdlets to connect to Exchange Online, SharePoint Online. So many different cmdlets for the different services. With this PowerShell module you don’t need to remember anything (not even your password!) I published my first PowerShell module to the PowerShell Gallery: https://www.powershellgallery.com/packages/Office365.Connect/. The module contains 2 cmdlets that you Read more about PowerShell – Easy & secure connection to Office 365[…]

Summary: This blog post will show you how to configure Hybrid Auditing in SharePoint 2016. It will also point out some considerations when deploying this new feature. Microsoft released a new hybrid feature for SharePoint 2016: Hybrid Auditing. This feature will automatically upload your on-premises user activity logs to Office 365, so administrators can generate reports Read more about All you need to know about Hybrid Auditing in SharePoint 2016[…]

Summary: This post provides an overview of all hybrid SharePoint features that were released by Microsoft for SharePoint 2013 and SharePoint 2016. During Ignite 2016 in Atlanta, Microsoft released some really cool hybrid features, that I would like to share some information about. The really cool thing about this is that they are not only Read more about Hybrid features in SharePoint 2013 and 2016[…]

Update: Microsoft included the fix in the hybrid picker experience. This means you no longer have to perform the steps outlined in this blog post. You can find the updated article by Microsoft here: https://blogs.technet.microsoft.com/beyondsharepoint/2016/09/15/considerations-when-deploying-sharepoint-office365-hybrid-workloads-in-a-farm-utilizing-provider-hosted-add-ins-or-workflow-manager/ For hybrid search (outbound/inbound query federation or Cloud Hybrid Search Service Application) a manual approach is needed to remediate this Read more about Fixing apps after configuring SharePoint Hybrid[…]

In SharePoint 2013 it is possible to restore a deleted site collection. For more information, read this article: http://technet.microsoft.com/en-us/library/hh272537.aspx You can use the Restore-SPDeletedSite cmdlet to restore a site collection. However, if you removed the site collection using the Remove-SPSite cmdlet using PowerShell, the site collection will not be stored in a SPDeletedSite object. This Read more about Restore deleted site collections SharePoint 2013[…]

By default, PDF files cannot be opened directly from SharePoint 2010/SharePoint 2013. To add the PDF mimetype to all Web Applications (Instead of doing it seperately for each Web Application), you can use the following oneliner:

This oneliner will show you the currently configured cache accounts for each of your Web Applications. Just paste this line of code in your SharePoint Management Shell: This is the output for the above command in my test environment: In my case, I have not properly configured the super user accounts for all my Web Read more about Current cache accounts PowerShell oneliner[…]

This will be a very short post, as it contains only 1 line of PowerShell code, and is not very hard to understand. It shows you all content databases, and for each of the content databases, it will show you the site collections within this content database. That wasn’t so bad right? Just copy and Read more about Get Site Collections per Content Database oneliner[…]

Summary: This post describes how to get SharePoint lists by using PowerShell. My last article explained how you can retrieve all your workflows from your SharePoint 2010 farm. After this, I got some requests from people that wanted an overview of all their used lists in SharePoint 2010. For this, I adjusted my last script Read more about Get SharePoint lists by using PowerShell[…]