Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.37 KB

Open-KshAttachmentFile.md

File metadata and controls

61 lines (42 loc) · 1.37 KB
external help file Module Name online version schema
SPClientCore.dll-Help.xml
SPClientCore
2.0.0

Open-KshAttachmentFile

SYNOPSIS

Opens an attachment file.

SYNTAX

Open-KshAttachmentFile [-Identity] <AttachmentFile> [<CommonParameters>]

DESCRIPTION

The Open-KshAttachmentFile cmdlet retrieves contents of the attachment file.

EXAMPLES

Example 1

PS C:\> Open-KshAttachmentFile -Identity (Get-KshAttachmentFile -ListItem (Get-KshListItem -List (Get-KshList -ListTitle 'Announcements') -ItemId 1) -FileName 'README.txt')

Retrieves contents of the attachment file.

PARAMETERS

-Identity

Specifies the attachment file.

Type: AttachmentFile
Parameter Sets: (All)
Aliases:

Required: True
Position: 0
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

Karamem0.SharePoint.PowerShell.Models.V1.AttachmentFile

OUTPUTS

System.IO.Stream

NOTES

RELATED LINKS