Export-SPTagsAndNotesData

Exports the SharePoint Newsfeed tags and notes from the SharePoint database to a ZIP file.

Syntax

Export-SPTagsAndNotesData
      [-Site] <SPSitePipeBind>
      [-FilePath] <String>
      [-AssignmentCollection <SPAssignmentCollection>]
      [<CommonParameters>]

Description

The Export-SPTagsAndNotesData cmdlet exports the SharePoint Newsfeed tags and notes from the SharePoint database. The tags and notes are written into separate files, and then the two are compressed and added to the ZIP file you specify.

Examples

----------------EXAMPLE-----------------

Export-SPTagsAndNotesData -Site http://site.contoso.com -FilePath C:\TagsAndNotes.zip

This example creates a new ZIP file called TagsAndNotes.zip, on the root of C: drive, exports tags and notes from the SharePoint database for the site http://site.contoso.com, and adds the resulting files to the TagsAndNotes.zip file

Required Parameters

-FilePath

File name, including full path, that you want export the tags and notes to.

The cmdlet will create a new ZIP file with the name you specified. If the file already exists, the cmdlet won't perform the export and will ask you to specify a new file name.

Type:String
Position:2
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2016
-Site

URL of the root site where you want to export the tags and notes from.

You must specify a valid URL to an existing SharePoint root site. For example: http://site.contoso.com

Type:SPSitePipeBind
Position:1
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2016

Optional Parameters

-AssignmentCollection

{{Fill AssignmentCollection Description}}

Type:SPAssignmentCollection
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
Applies to:SharePoint Server 2016