SharePoint Online: Export-Import Content Type using PowerShell

Requirement: Export-Import Content Types in SharePoint Online using PowerShell Export Content Type in SharePoint Online using PowerShell Are you looking to export or import content types in SharePoint Online? If so, PowerShell is here to help! This blog post will show you how to export and import content types between SharePoint Online…

Read more

SharePoint Online: Export List Data to XML using PowerShell

Requirement: Export SharePoint Online List data to XML file. PowerShell to Export SharePoint Online List to XML XML file generated through PowerShell script: This PowerShell script extracts data from all columns and exports to XML. You may have to handle columns like People Picker, Lookup, etc., separately. Last but not least: You…

Read more

SharePoint Online: Import XML to List using PowerShell

Requirement:  Import XML to SharePoint Online List PowerShell to Import XML to SharePoint Online List Here is the PowerShell to import XML to the SharePoint Online list: My XML Structure: Here is the List structure I’ve created before running the script: Here is another post was written for SharePoint On-premises: PowerShell to…

Read more

Export SharePoint Configuration Inventory to XML using PowerShell

Requirement: We had to compare specific SharePoint inventories between different environments, such as web applications, content databases, etc. So had to extract and export SharePoint configurations into an XML file. PowerShell Script to Export Web Applications List into XML Export SharePoint list data to XML using PowerShell: Script output: Inventory Web Applications…

Read more

Export SharePoint List Items to XML using PowerShell

Sometime back, I wrote a PowerShell script to import from a XML file to SharePoint list, Import XML File Data into SharePoint List using PowerShell. Now the requirement is in reverse: Export SharePoint List data to XML file! PowerShell script to Export SharePoint List Items to XML: How to export SharePoint list…

Read more

Import XML File Data into SharePoint List using PowerShell

Requirement: PowerShell to Import XML to SharePoint List We have a utility from a third-party system that generates project data in XML format. We had to import those data to a list in the PMO site. In other words: We’ve to import from XML file to SharePoint list. Here is a sample…

Read more

Export-Import SharePoint Content Type using PowerShell

Requirement: Copy a Content Type from the development environment to the staging environment. Solution Overview: Export site columns associated with the content type from the source site collection Export custom content data types from source site collection Import site columns from the exported site columns XML Re-Create custom content types programmatically with…

Read more