SharePoint Online: How to Delete a Folder using PowerShell?

Requirement: Delete a folder in SharePoint Online using PowerShell. How to delete a folder in SharePoint Online? Deleting folders is a great way to clean up your site and eliminate outdated content in SharePoint Online. Deleting a folder is easy and can be completed in just a few steps. This blog post…

Read more

SharePoint Online: Add Choice Field to List using PowerShell

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

Read more

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

Requirement: PowerShell to add a single line of text column to the SharePoint Online list. How to Add Single Line of Text Column to SharePoint Online List? The “Single line of text” column in SharePoint Online stores text value in a single row up to 255 characters. We can use this field…

Read more

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

By default, the Farm administrators group has the right to manage all service applications. Often, you may need to add administrators or grant permissions to SharePoint service applications. Say, SharePoint allows us to delegate permissions and distribute administration of Service applications to multiple users by granting access as either Service Application Administrator…

Read more

SharePoint Online: Download a File using PowerShell

Requirement: Download a File from SharePoint Online using PowerShell. How to Download a File from SharePoint Online Library? Downloading files from SharePoint Online is pretty straightforward. If you need to download a file from SharePoint Online, just browse to the site that contains the document, right-click on it, and select ‘Download’ in…

Read more

SharePoint Online: Set Folder Permissions using PowerShell

Requirement: Change folder permissions in SharePoint Online using PowerShell. How to Set folder level permissions in SharePoint Online? One of the most common SharePoint Online administrative tasks is managing folder permissions. In this blog post, we will show you how to use PowerShell to set folder permissions for a SharePoint Online site….

Read more

SharePoint Online: Remove Content Type from List using PowerShell

Requirement: Remove a Content type from SharePoint Online List. How to Remove a Content Type from a List in SharePoint Online? Content types are reusable collections of metadata that define the columns and behavior of items within a list or library. There may be situations where you need to remove a content…

Read more

An error occurred while getting information about the user “Farm Admin” at server “Domain Name”: The RPC server is unavailable

Problem: After installing SharePoint 2016 to set up a new farm, I tried running the 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 while getting information about the user <Farm-Admin> at…

Read more