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: When you want to re-use a content type in different site SharePoint Online site collections, without a content type hub, You can copy-paste them using this PowerShell script. and the script outputs a XML: PowerShell…

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 my List structure I’ve created before running the script: Here is my another post written for SharePoint On-premises: PowerShell to…

Read more

Export SharePoint Configuration Inventory to XML using PowerShell

Requirement: We had to compare certain 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 SharePoint export data to XML Script output: Inventory Web Applications and Its Content…

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 development environment to 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 PowerShell in…

Read more