Set-SLDocumentMetadata


Synopsis

Set document metadata.

Syntax

Description

Set document metadata that helps identify a document and also to organise them by tags,comment or author.

Parameters

-WorkBookInstance

Instance of an excel document that can be used for editing.

Required? True
Position? 0
Default value  
Accept pipeline input? true (ByValue)
Accept wildcard characters? False

-Title

The title of the document.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Author

The creator of the document.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Comment

The summary or abstract of the contents of the document.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Tags

A word or set of words describing the document.Refers to keywords in excel.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Category

The category of the document eg: personal,business,financial etc.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-LastModifiedBy

The document is last modified by this person.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

-Subject

The topic of the document.

Required? False
Position? named
Default value  
Accept pipeline input? false
Accept wildcard characters? False

This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

Inputs

String,SpreadsheetLight.SLDocument

Outputs

SpreadsheetLight.SLDocument

Notes

Examples

Example 1

Set the title,author,comment and tags properties on the document named test.
Note:Tags are seperated by semicolons.

Related links