The Lazy SharePoint Admin

Automating SharePoint one script at a time!

Home » Page 2

SharePoint Role Assignments

Introduction You may be asking yourself, what exactly are SharePoint role assignments?!  This article will discuss the following role assignment topics: Definition Growth SharePoint Impact Discovery Maintenance Definition A role assignment is the relationship between role definitions, users and groups, and scopes.  Let's break that down a little further! Role Definition Role definition is synonymous [...]

By |2017-11-16T13:49:34+04:30November 16th, 2017|SQL, Tips|Comments Off on SharePoint Role Assignments

Quickly Empty Recycle Bin With PowerShell

Introduction I was doing some site cleanup today and ended up with around 15,000 items in a site collection recycle bin.  I started cleaning them out using the GUI.  It was SLOW going.  There is no way to "Delete All" for the second stage bin.  Rather, you have to delete items from the second stage [...]

By |2017-10-25T21:31:34+04:30October 25th, 2017|PowerShell, Tips|Comments Off on Quickly Empty Recycle Bin With PowerShell

Modify List Permissions With PowerShell

Overview This article discusses ways to modify list permissions, such as breaking list inheritance, resetting inheritance, resetting list item permission inheritance and removing all list permissions with PowerShell. Break Inheritance Let’s say you create a shiny new custom list without changing any of the defaults.  Later, you realize that you wanted unique permissions on the [...]

By |2017-10-31T10:28:53+04:30July 3rd, 2017|PowerShell|Comments Off on Modify List Permissions With PowerShell

Find Duplicate Users in SharePoint User Information List

Introduction If you work in a large organization with multiple domains and/or high turnover, you may run into issues where duplicate user accounts start stacking up in your SharePoint User Information List. Examples Let's say Joe Dirt works at your company and his Active Directory account is corp\joe.dirt.  When Joe Dirt accesses the portal for [...]

By |2017-11-06T09:52:41+04:30June 29th, 2017|PowerShell|Comments Off on Find Duplicate Users in SharePoint User Information List

Summary Links Web Part Error 0x80070002

When attempting to add a summary links web part, you may receive the following 0x80070002 error: Unable to add selected web part(s).  Could not load XSL file.  The system cannot find the file specified. (Exception from HRESULT: 0x80070002) There are a few possible solutions to this problem.  Let's start with the simplest! NOTE: The information [...]

By |2017-04-23T14:01:41+04:30April 23rd, 2017|PowerShell|Comments Off on Summary Links Web Part Error 0x80070002

SharePoint Behavior Using CrashOnAuditFail

CrashOnAuditFail Defined The purpose of the CrashonAuditFail registry key is to configure a server so that end users are not permitted access to the computer when the security logs reach the configured size limit. Disallowing access to the computer ensures that audit information that would otherwise be logged is not missed.  The system also uses [...]

By |2017-02-16T10:19:02+04:30February 16th, 2017|PowerShell|Comments Off on SharePoint Behavior Using CrashOnAuditFail

Archive The Windows Security Event Log

Overview In a security conscious environment, it may be necessary or mandated to archive the Windows security event log.  By default the security log is configured to overwrite events as needed.  Here is a screenshot of typical security event log settings: Event Log Settings To check or modify your security event log settings, launch Event Viewer. [...]

By |2017-01-30T15:37:02+04:30January 30th, 2017|PowerShell|Comments Off on Archive The Windows Security Event Log

SharePoint 2010 Database Mirroring with Automatic Failover

Introduction There are lots of resources available online that discuss SharePoint database mirroring.  In this article I will mention a few of these resources, toss in my own personal experience and leave you with a few T-SQL scripts that may prove useful in your mirroring efforts. Resources Here are two TechNet articles that I found useful [...]

By |2016-11-30T14:49:26+04:30April 21st, 2014|PowerShell, SQL|5 Comments
Go to Top