We tried modifying the view in SharePoint 2010 using Designer 2010 and it’s corrupted! No option to delete the view ! Spin up your SharePoint Shell Management and execute the below code
$SPWeb = Get-SPWeb $WebUrl
$List = $SPWeb.Lists[$ListName]
$View = $List.Views[$ViewName]
Note: Ensure the View you are removing. Cross check by it’s ID [GUID]
On March 18, 2015 Metalogix organized and conducted a Road Show at Microsoft – Amsterdam. Title: SharePoint and Office 365 Road Map to the Cloud with the partnership of K2 , Wipro and Wortell. Contents How to drive adoption for Office 365 5 Things you need to know before migrating to SharePoint 2013, Onedrive for […]
One of my client requested for validating the list fields. The list is deployed as part of custom solutions. There is no big challenge doing it by inserting validation formula. However I took a quick look of PowerShell property to achieve the same. List Available in SharePoint 2010 Where Title is set to 255 and […]
One of my client requested a settings in SharePoint 2010 to avoid accidental deletion of Lists. Indeed we can recover it from Recycle Bin within 30 days, but they need to avoid deletion. Alternatively we can make a permission settings to avoid deletion. Let’s see how to do this using PowerShell.
Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
$web = Get-SPWeb -Identity 'http://domain.com/windows_test'
$list = $web.Lists['PowerShell']
$list | GM
AllowDeletion is a […]
In most of the organizations Content Managers decides the fields and its property for the List or Library. They are Power Users and have certain limitations to fetch reports. We started discussing about Power Query and ended up in PowerShell. Requirement: Need to fetch Document Library Items which miss some required fields. Scenario: We all […]