< Back

Remove-DevOpsAttachment

Sat Jan 18, 2020 9:36 am

NAME Remove-DevOpsAttachment



SYNOPSIS

Removes an attachment from a work item.





SYNTAX

Remove-DevOpsAttachment [-Connection] <Hashtable> -AttachmentId <Guid> -WorkItemId <Int32> [-Collection <String>]

[<CommonParameters>]





DESCRIPTION







PARAMETERS

-Collection <String>

Specifies the TFS collection name.



Required? false

Position? named

Default value

Accept pipeline input? False

Accept wildcard characters? false



-WorkItemId <Int32>

Specifies the ID of the work item with the attachment to delete.



Required? true

Position? named

Default value

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-AttachmentId <Guid>

Specifies the ID of the attachment to remove



Required? true

Position? named

Default value

Accept pipeline input? True (ByPropertyName, ByValue)

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





RELATED LINKS