e Send-TdChangeFile | Welcome to TOPdeskPS

Main | Command Reference | Quick Start

Welcome to TOPdeskPS

PowerShell module to interact with the TOPdesk REST Api

Send-TdChangeFile

SYNOPSIS

Upload a file to a change.

SYNTAX

Send-TdChangeFile [-ChangeId] <String> [-File] <FileInfo[]> [<CommonParameters>]

DESCRIPTION

Upload a file to an Change. You can make the file invisible to the caller and you can also add a description.

EXAMPLES

EXAMPLE 1

Get-TdChangeDetail 'C1811-123' | Send-TdChangeFile -File 'C:\TestFile.txt'

Uploads a file to a change

EXAMPLE 2

Get-TdChangeDetail 'C1211-123' | Send-TdChangeFile -file 'C:\log.txt'

uploads a file to C1211-123

PARAMETERS

-ChangeId

Id of the change that you want to work with.

Type: String
Parameter Sets: (All)
Aliases: id

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-File

File that you want to upload.

Type: FileInfo[]
Parameter Sets: (All)
Aliases:

Required: True
Position: 2
Default value: None
Accept pipeline input: True (ByPropertyName, 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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES