e Remove-TdAssetFile | Welcome to TOPdeskPS

Main | Command Reference | Quick Start

Welcome to TOPdeskPS

PowerShell module to interact with the TOPdesk REST Api

Remove-TdAssetFile

SYNOPSIS

Removes file from an asset

SYNTAX

Remove-TdAssetFile [-UploadId] <String> [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

Removes file from an asset

EXAMPLES

EXAMPLE 1

Get-TdAssetFile -AssetId $AssetId | Remove-TdAssetFile

Gets all asset files from $AssetId and then removes them.

PARAMETERS

-UploadId

Id of the blob that you want to remove. Use Get-TdAssetFile toreceive the id

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

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

-WhatIf

If this switch is enabled, no actions are performed but informational messages will be displayed that explain what would happen if the command were to run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

-Confirm

If this switch is enabled, you will be prompted for confirmation before executing any operations that change state.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

Required: False
Position: Named
Default value: None
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 (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES