Home » PowerShell » Page 2

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

List SharePoint InfoPath Forms

So, my current place of employment has recently upgraded to SharePoint 2010.  Seriously, don't laugh.  In any case, our environment is fairly InfoPath heavy.  All existing forms were created with InfoPath 2007 as client based forms.  Some of the issues with client based forms include: InfoPath has to be installed on every system where users [...]

By |2016-12-15T12:20:50+04:30April 1st, 2014|InfoPath, PowerShell|4 Comments

Convert Choice to Lookup Column

Another day, another challenge!  I was looking at a document library with 1000+ files where a "Document Type" column had been added as a choice.  Unfortunately, the column was supposed to be a lookup.  I created a new lookup column and pointed it to the correct list.  That's great, but editing the properties of all 1000+ [...]

By |2016-12-08T14:04:40+04:30April 26th, 2013|PowerShell|2 Comments

Removing SharePoint Managed Accounts

When removing SharePoint managed accounts, there is a right way and a wrong way ... The Right Way Use Central Admin GUI or "Remove-SPManagedAccount -Identity domain\user" PowerShell cmdlet  to delete the managed account Delete the account from Active Directory The Wrong Way Delete the account from Active Directory before removing the managed account from SharePoint If the account [...]

By |2016-12-06T13:12:59+04:30March 29th, 2013|Central Administration, PowerShell|Comments Off on Removing SharePoint Managed Accounts
Go to Top