external help file | applicable | schema |
---|---|---|
SharePoint Server 2013, SharePoint Server 2016, SharePoint Online |
2.0.0 |
Exports a taxonomy to either the output or to a file.
Export-PnPTaxonomy [-TermSetId <GuidPipeBind>]
[-TermStoreName <String>]
[-IncludeID [<SwitchParameter>]]
[-Path <String>]
[-Force [<SwitchParameter>]]
[-Delimiter <String>]
[-Encoding <Encoding>]
[-Connection <SPOnlineConnection>]
PS:> Export-PnPTaxonomy
Exports the full taxonomy to the standard output
PS:> Export-PnPTaxonomy -Path c:\output.txt
Exports the full taxonomy the file output.txt
PS:> Export-PnPTaxonomy -Path c:\output.txt -TermSet f6f43025-7242-4f7a-b739-41fa32847254
Exports the term set with the specified id
The path delimiter to be used, by default this is '|'
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Defaults to Unicode
Type: Encoding
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
Overwrites the output file if it exists.
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
If specified will include the ids of the taxonomy items in the output. Format: ;#
Type: SwitchParameter
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
File to export the data to.
Type: String
Parameter Sets: (All)
Required: False
Position: Named
Accept pipeline input: False
If specified, will export the specified termset only
Type: GuidPipeBind
Parameter Sets: TermSet
Required: False
Position: Named
Accept pipeline input: False
Term store to export; if not specified the default term store is used.
Type: String
Parameter Sets: TermSet
Required: False
Position: Named
Accept pipeline input: False
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