kwizcom banner advertisement

Remove SharePoint Web Application Policy using PowerShell

9:49 PM    , , , , , ,
Requirement: Remove Web Application Policy using PowerShell How to remove a web application Policy in SharePoint? To remove a user or group from SharePoint web application Policy, follow these steps: Login to SharePoint Central Administration Site Application Management >> Manage Web Applications  Select the appropriate web application from the list >> Click on "User Policy" button from the ribbon.  Now, from the "Policy for Web Application" page, Select the user or group to remove and click on "Delete Selected Users" link Confirm the prompt once to remove select accounts from web application Policy. PowerShell to Remove a Web Application Policy in SharePoint: Here is the PowerShell script to delete a web application policy in SharePoint. Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue Function Remove-WebAppPolicy($WebAppURL, $Account) { Try { Write-host "Removing Account '$Acc
Remove SharePoint Web Application Policy using PowerShell Remove SharePoint Web Application Policy using PowerShell Reviewed by Salaudeen Rajack on 9:49 PM Rating: 5

How to Delete a Host Named Site Collection in SharePoint using PowerShell?

8:22 PM    , , ,
Requirement: Delete host named site collection using PowerShell in SharePoint. How to Delete host named Site Collection? Generally, Host named site collections in SharePoint are managed through PowerShell. Prior to SharePoint 2013, You cannot delete host named site collections from Central Administration site as the delete button is greyed out on delete site collection page. However, from SharePoint 2013 you can delete either host named site collection or path based site collection from: Central Administration >> Application Management >> Delete Site Collection Select the site collection from the drop down and hit "Delete" button Confirm the prompt once to delete the host named site collection. Delete host named site collection using PowerShell: To delete a Host named site collection using PowerShell, use Remove-SPSite cmdlet in SharePoint Management Shell. Remove-SPSite -Identity "http://Host-Named-Site-Collection-URL" This removes gi
How to Delete a Host Named Site Collection in SharePoint using PowerShell? How to Delete a Host Named Site Collection in SharePoint using PowerShell? Reviewed by Salaudeen Rajack on 8:22 PM Rating: 5

Style SharePoint 2016 List View Web Part with Custom CSS

6:36 PM    , , , ,
Requirement: Add a custom style to SharePoint 2016's standard list view web part to make it look like a dashboard! By default, SharePoint list view web part looks dull, isn't it? So, lets add some custom CSS to the SharePoint 2016 list view, to make it look like a dashboard! How to add CSS to listview? Simple, Click on Site Settings gear >> Edit Page Insert web part >> Choose "Script Editor" under "Media and Content" Place the below CSS code in it. Save and close! CSS to Brand SharePoint List view: <style type="text/css"> /* List View Header */ .ms-listviewtable > thead > tr > th { background-color: #5B9BD5; } /* List view Header Text color*/ .ms-vh-div, .ms-headerSortTitleLink { color:white!important; font-weight: bold; } /* background color for alternate rows */ .ms-listviewtable > tbody > tr.ms-alternating { background: #DDEBF7 } </style> Here is the output of the branded List view web p
Style SharePoint 2016 List View Web Part with Custom CSS Style SharePoint 2016 List View Web Part with Custom CSS Reviewed by Salaudeen Rajack on 6:36 PM Rating: 5
Powered by Blogger.