< Back
Get-DevOpsAttachmentContent
Post
NAME Get-DevOpsAttachmentContent
SYNOPSIS
Get the content of a work item attachment.
SYNTAX
Get-DevOpsAttachmentContent [-Connection] <Hashtable> -AttachmentId <Guid> [-Collection <String>] -WorkItemId
<Int32> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Collection <String>
Specifies TFS collection name.
Required? false
Position? named
Default value
Accept pipeline input? False
Accept wildcard characters? false
-AttachmentId <Guid>
Specifies the ID of the attachment content to retrieve.
Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Connection <Hashtable>
Specifies connection information.
Required? true
Position? 0
Default value
Accept pipeline input? False
Accept wildcard characters? false
-WorkItemId <Int32>
Specifies the ID of the Work Item to add the attachment to.
Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Guid
You can pipeline Guid's that identify the attachments you want to retrieve.
OUTPUTS
System.Byte[]
Attachment content.
RELATED LINKS
SYNOPSIS
Get the content of a work item attachment.
SYNTAX
Get-DevOpsAttachmentContent [-Connection] <Hashtable> -AttachmentId <Guid> [-Collection <String>] -WorkItemId
<Int32> [<CommonParameters>]
DESCRIPTION
PARAMETERS
-Collection <String>
Specifies TFS collection name.
Required? false
Position? named
Default value
Accept pipeline input? False
Accept wildcard characters? false
-AttachmentId <Guid>
Specifies the ID of the attachment content to retrieve.
Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
-Connection <Hashtable>
Specifies connection information.
Required? true
Position? 0
Default value
Accept pipeline input? False
Accept wildcard characters? false
-WorkItemId <Int32>
Specifies the ID of the Work Item to add the attachment to.
Required? true
Position? named
Default value
Accept pipeline input? True (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
Guid
You can pipeline Guid's that identify the attachments you want to retrieve.
OUTPUTS
System.Byte[]
Attachment content.
RELATED LINKS