Skip to content

Latest commit

 

History

History
81 lines (60 loc) · 1.54 KB

Import-PnPTermGroupFromXml.md

File metadata and controls

81 lines (60 loc) · 1.54 KB
external help file applicable schema
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online
2.0.0

Import-PnPTermGroupFromXml

SYNOPSIS

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

SYNTAX

XML

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

File

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

EXAMPLES

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

PS:> Import-PnPTermGroupFromXml -Xml $xml

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

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

PS:> Import-PnPTermGroupFromXml -Path input.xml

Imports the XML file specified by the path.

PARAMETERS

-Path

The XML File to import the data from

Type: String
Parameter Sets: File

Required: False
Position: Named
Accept pipeline input: False

-Xml

The XML to process

Type: String
Parameter Sets: XML

Required: False
Position: 0
Accept pipeline input: True

-Connection

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

Type: SPOnlineConnection
Parameter Sets: (All)

Required: False
Position: Named
Accept pipeline input: False

RELATED LINKS

SharePoint Developer Patterns and Practices