Posts

Delete all Pages - Sharepoint Powershell

Image
This post highlights how to remove all sub-sites or pages  permanently  from a specific SharePoint site collection/web using a PowerShell script.  Prerequisite     Before using the below script user needs admin-level access .    Change the site collection name as per your requirements. NOTE: Use Below Script and kindly pass the valid URLs/List Name to execute the script. Script: Add-PSSnapin  Microsoft.SharePoint.PowerShell  $site =Get-SPSite   - identity  < Your URL > $subSiteColl = $site.RootWeb.Webs; $subSites =@ () for ($i =   0 ;$i   -le   $subSiteColl.Count - 1 ;$i ++ ) {     $subSites   += $subSiteColl[$i]; } foreach ($subSite   in   $subSites){          $targetWeb =get-spweb   - identity  $subSite.URL;      $targetListGeneral = $targetWeb.lists[ " <List Name> " ];             if ($targetListGeneral){                    for ($x = $targetListGeneral.ItemCount - 1 ;$x   -ge   0 ;   $x -- )          {                   $item = $targetListGeneral.Items[$x];  

MS List - Customize Look & Feel of card/view form layout using JSON | SharePoint | o365

Image
In this post, I will highlight the process of customizing the look & feel of a Sharepoint/MS list, the purpose of this post is to showcase the customized look & feel, if you like it please feel free to drop a note in the comment section, I will create a separate post to explain the process in depth. Prerequisite : To customize the look & feel of MS list a person should have good hands-on experience in JSON. What is JSON? JSON stands for JavaScript Object Notation, it is a lightweight format for storing and transporting data and often used when data is sent from a server to a web page. Will not talk more about JSON in this post if you feel interested kindly drop a note in the comment section will create a separate post to explain JSON in-depth in terms of the MS list. Before starting the actual coding part, kindly have a look at what exactly we are trying to achieve here. NOTE : Script will customize the look & feel of the course tracker list on the basis of the s

Broken link identifier | BOT | RPA | Automation

Image
This BOT can help you to find all the working and non-working links on a page and you can check the status of as many pages as you want with minimal human intervention.  Use cases: Migration Site Audit