I’ve recently had a requirement to remove disabled Active Directory users from our SharePoint deployment so that organograms and the likes are correct. As part of this, I’ve been looking at the options available in SharePoint and stumbled upon a method that should automatically maintain our SharePoint deployment.
I recently came across this issue on our internal SharePoint deployment and tried a few things to fix it without success. Initially, I thought it may be to do with the sheer quantity of Active Directory groups I was a member of, however after reducing the number of groups I was a part of there didn’t appear to be any change in the issue.
After looking around and attempting a few fixes I finally came across why the issue occurs and how to fix it. I’ll cover all of this in this article.
The script below can be used in order to enable versioning in all SharePoint document libraries and also to set how many major versions to retain and how many minor versions to maintain.
it’s important to keep in mind when choosing how many minor versions to retain that the setting actually specifies how many ‘Major Versions’ drafts’ should be retained and not a hard limit on how many ‘draft versions’ will be kept.
Today I’ll be demonstrating (and providing code) on how to add a SharePoint home button which will allow your users to easily navigate to the SharePoint homepage from anywhere and also to add the current site’s title with a link to the current sites homepage.
Admittedly this isn’t something you’d often need to do however I had a request to bulk approve folders and found very little information on how to do this in SharePoint using PowerShell so had to come up with my own way to do it.
Hopefully this helps –
I was recently tasked with finding out how to hide the taxonomy catchall columns that appear when Content & Structure is used to move items into a list or library. These type of fields can’t be hidden using the normal SharePoint interface meaning our next best option is to use PowerShell.
I’ll cover how to use PowerShell to hide this column down below.
I had a request to rename roughly 100 libraries in our SharePoint deployment recently and thought it would be a good time to dig into a bit of PowerShell.
In this post I’ll demonstrate how to loop through site collections, subsites, lists and finally how to filter and change a name of a list and I’ll also attempt to show a few interesting properties we can change.