Import-PnPTermGroupFromXml

Imports a taxonomy TermGroup from either the input or from an XML file.

Syntax

Import-PnPTermGroupFromXml
      [-Xml <String>]
                                [-Connection <SPOnlineConnection>]
Import-PnPTermGroupFromXml
      [-Path <String>]
                                [-Connection <SPOnlineConnection>]

Examples

------------------EXAMPLE 1------------------

Import-PnPTermGroupFromXml -Xml $xml

Imports the XML based termgroup information located in the $xml variable

------------------EXAMPLE 2------------------

Import-PnPTermGroupFromXml -Path input.xml

Imports the XML file specified by the path.

Optional Parameters

-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Path

The XML File to import the data from

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Xml

The XML to process

Type:String
Position:0
Accept pipeline input:True
Accept wildcard characters:False