Edit

Share via


Remove-OfficeWebAppsExcelUserDefinedFunction

Removes an existing UDF definition.

Syntax

Default (Default)

Remove-OfficeWebAppsExcelUserDefinedFunction
    [-Identity] <UserDefinedFunction>
    [-WhatIf]
    [-Confirm]

Description

Removes an existing UDF definition.

Examples

Example 1

This example removes the UDF c:\myudf.dll.

Remove-OfficeWebAppsExcelUserDefinedFunction -Identity c:\myudf.dll

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:cf

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Identity

The path and filename of the UDF.

Parameter properties

Type:UserDefinedFunction
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:1
Mandatory:True
Value from pipeline:True
Value from pipeline by property name:True
Value from remaining arguments:False

-WhatIf

Displays a message that describes the effect of the command instead of executing the command.

Parameter properties

Type:SwitchParameter
Default value:None
Supports wildcards:False
DontShow:False
Aliases:wi

Parameter sets

(All)
Position:Named
Mandatory:False
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False