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 https://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 https://site.contoso.com, and adds the resulting files to the TagsAndNotes.zip file

Parameters

-AssignmentCollection

{{Fill AssignmentCollection Description}}

Type:SPAssignmentCollection
Position:Named
Default value:None
Required:False
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-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
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition

-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: https://site.contoso.com

Type:SPSitePipeBind
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:SharePoint Server Subscription Edition