Import-PnPTermGroupFromXml
SYNOPSIS
Imports a taxonomy TermGroup from either the input or from an XML file.
SYNTAX
XML
Import-PnPTermGroupFromXml [[-Xml] <String>] [-Connection <PnPConnection>]
File
Import-PnPTermGroupFromXml [-Path <String>] [-Connection <PnPConnection>]
DESCRIPTION
Allows to import taxonomy term group from xml.
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.
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: PnPConnection
Parameter Sets: (All)
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Path
The XML File to import the data from
Type: String
Parameter Sets: File
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs. The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Xml
The XML to process
Type: String
Parameter Sets: XML
Required: False
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False