SharePoint Online: How to Delete a Folder using PowerShell?

September 28, 2016    , , , , , ,
Requirement: Delete a folder in SharePoint Online using PowerShell. How to delete a folder in SharePoint Online? Simply select the folder from the list or library, and then you can delete a folder either from the toolbar "delete" button or from the context menu's delete option.…

SharePoint Online: Add Choice Field to List using PowerShell

September 26, 2016    , , , , ,
Requirement: PowerShell to add choice field to list in SharePoint Online. How to Add Choice Field to SharePoint Online List? Choice column in SharePoint Online is used to provide a pre-defined set of choices for metadata column. Based on the settings you configure, This field may accept singl…

SharePoint Online: Create Single Line of Text Column in List using PowerShell

September 26, 2016    , , , , ,
Requirement: SharePoint Online PowerShell to add column to list How to Add Single Line of Text Column to SharePoint Online List? The "Single line of text" column in SharePoint Online is used to store text value in a single row up to 255 characters. We can use this field type when you…

Get User Department, Job Title from User Information List of SharePoint using PowerShell

September 25, 2016    , , ,
Requirement: From a business requirement, need to generate a report for department wise users of a Intranet portal site. Say, How many users from "Sales" department have access to SharePoint Intranet portal? Solution: Either query user profiles store or user information list to get t…

How to Add Administrator and Grant Permission to Service Applications using PowerShell?

September 24, 2016    , , , , ,
By default, Farm administrators group has rights to manage all service applications. Often there are situations when you may need to add additional administrators or grant permissions to SharePoint service applications. Say, You want to delegate service application administration to other users…

SharePoint Online: Download a File from Library using PowerShell

September 22, 2016    , , , , ,
Requirement: Download a File from SharePoint Online using PowerShell How to Download File from SharePoint Online Library? To download a file from library, follow these steps: Sign-in to SharePoint Online site >> Navigate to the library where your desired file is located Right click o…

SharePoint Online: Set Folder Permissions using PowerShell

September 19, 2016    , , , , ,
Requirement: Change folder permissions in SharePoint Online using PowerShell. How to Set folder level permissions in SharePoint Online? How to give unique permission to a folder in SharePoint Online? To manage folder permissions such as Add or Restrict in SharePoint Online, Follow these steps: …

SharePoint Online: Remove Content Type From List using PowerShell

September 18, 2016    , , , , ,
Requirement: Remove a Content type from SharePoint Online List. How to Remove a Content Type from List in SharePoint Online? Content types that are not in use in lists or libraries can be deleted. To delete a content type from SharePoint Online list, do the following: Login to your SharePo…

An error occurred while getting information about the user at server : The RPC server is unavailable

September 15, 2016    , ,
Problem: After installing SharePoint 2016 to setup a new farm, tried running SharePoint 2016 products configuration wizard, and the wizard failed at step 3 saying: Failed to create the configuration database. An Exception of type System.InvalidOperationException was thrown. An error occurred …

SharePoint Online: How to Delete a Term using PowerShell?

September 07, 2016    , , , , ,
Requirement: Delete a Term from SharePoint Online Term Store How to Delete a Term in SharePoint Online using PowerShell? If you delete a term, items that had been previously tagged with the deleted term will no longer be tagged with that term! Deleting a term removes all instances of it. Foll…

How to Change Default Content Access Account in SharePoint 2016 Search?

September 06, 2016    , , , ,
Once we complete creating Search Service Application, The next step is to configure default content access account, which is used by Crawl Component to crawl the content sources like SharePoint content. This crawl account will have read access to all your search content sources such as SharePoint…

SharePoint Online: Create New Term Set using PowerShell

September 06, 2016    , , , , ,
Requirement: Create a New Term Set in SharePoint Online Term Store. How to Create a New Term Set in SharePoint Online? Term sets are a set of Terms stored in a hierarchical structure. E.g: Country > State > City. In other words, Terms are stored in term sets. Term sets in managed metada…

How to Test Outgoing Emails in SharePoint using PowerShell?

September 06, 2016    , , , , , , , ,
On troubleshooting SharePoint Email issues, as a first step, we have to check outgoing Email settings applied on SharePoint central Administration site are valid. So, how to test SharePoint outgoing email quickly? Here are my PowerShell scripts to test outgoing email in SharePoint 2013. Method …

Change My Site Host URL in User Profile Service Application using PowerShell

September 06, 2016    , , , , , ,
Once My site host web application and site collection is created, the next step is to configure user profile service application to use the My site host. Here is how to set my site host in user profile service application of SharePoint 2016. Login to SharePoint 2016 Central Administration site …

Create My Site Host Site Collection for SharePoint 2016 using PowerShell

September 06, 2016    , , , , ,
My Site host is a prerequisite for configuring user profile service application in SharePoint (Although you can provide My site host URL later, its a best practice to have it ready prior creating user profile service application). Creating My Site Host in SharePoint involves following steps: Cr…

How to Hide the Timeline in the Task List of SharePoint 2016?

September 04, 2016    , , , , ,
Requirement: Hide timeline from SharePoint 2016 task list Solution: Here is how you can hide the timeline in SharePoint 2013/2016 task lists. Go to the Task List, Click on List Tab and then click on "Modify View" button from the ribbon. In the Edit view page, scroll down and exp…

Backup-Restore All SharePoint Databases in SQL Server using PowerShell

September 01, 2016    , , , , ,
Requirement: We planned to move our SharePoint's SQL database to a different server. So, we had to backup and restore all SharePoint databases from one SQL Server 2012 instance to another. Solution: Here are the steps at high level to move SharePoint from one SQL Server to another: Get …

Powered by Blogger.