Get-ITGlueAttachment

SYNOPSIS

List or show attachments for a resource

SYNTAX

Index (Default)

Get-ITGlueAttachment -ResourceType <String> -ResourceId <Int64> [<CommonParameters>]

Show

Get-ITGlueAttachment -ResourceType <String> -ResourceId <Int64> -Id <Int64> [<CommonParameters>]

DESCRIPTION

The Get-ITGlueAttachment cmdlet returns a list and or shows attachments for a resource

EXAMPLES

EXAMPLE 1

Get-ITGlueAttachment -ResourceType 'checklists' -ResourceId 12345

Returns the defined attachments for the parent resource

EXAMPLE 2

Get-ITGlueAttachment -ResourceType 'checklists' -ResourceId 12345 -Id 8765309

Returns the defined attachment for the parent resource

PARAMETERS

-ResourceType

The resource type of the parent resource

Allowed Values: ‘checklists’, ‘checklist_templates’, ‘configurations’, ‘contacts’, ‘documents’, ‘domains’, ‘locations’, ‘passwords’, ‘ssl_certificates’, ‘flexible_assets’, ‘tickets

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ResourceId

The resource id of the parent resource

Type: Int64
Parameter Sets: (All)
Aliases:

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

-Id

Attachment id

Type: Int64
Parameter Sets: Show
Aliases:

Required: True
Position: Named
Default value: 0
Accept pipeline input: False
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

OUTPUTS

NOTES

N/A

https://celerium.github.io/Celerium.ITGlue/site/Attachments/Get-ITGlueAttachment.html

https://api.itglue.com/developer/#attachments