< Back

Get-DevOpsAttachmentInfo

Sat Jan 18, 2020 9:36 am

NAME Get-DevOpsAttachmentInfo



SYNOPSIS

Retrieves attachment information for a work item.





SYNTAX

Get-DevOpsAttachmentInfo [-Connection] <Hashtable> -WorkItemId <Int32> [-Collection <String>] [-Filters

<PSObject[]>] [<CommonParameters>]





DESCRIPTION







PARAMETERS

-WorkItemId <Int32>

Specifies the ID of the work item retreive attachment info for.



Required? true

Position? named

Default value

Accept pipeline input? True (ByPropertyName, ByValue)

Accept wildcard characters? false



-Collection <String>

Specifies theTFS collection name.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Filters <PSObject[]>

Specifies the filters used to determine what attachment information to retrieve.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-Connection <Hashtable>

Specifies connection information.



Required? true

Position? 0

Default value

Accept pipeline input? False

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



OUTPUTS

System.Management.Automation.PSObject

A PSObject containing information about attachmnet including AttachmentId, WorkItemId, CreatedDate,

ModifiedDate, ContentLength and Comment.







RELATED LINKS