Set-OfficeWebAppsExcelUserDefinedFunction

Sets properties on existing UDF definitions.

Syntax

Set-OfficeWebAppsExcelUserDefinedFunction
   [-Identity] <UserDefinedFunction>
   [-Assembly <String>]
   [-AssemblyLocation <AssemblyLocation>]
   [-Description <String>]
   [-Enable]
   [-WhatIf]
   [-Confirm]

Description

Sets properties on existing UDF definitions.

Examples

This example disables the UDF at c:\myudf.dll.

Set-OfficeWebAppsExcelUserDefinedFunction -Identity c:\myudf.dll -Enable:$false

Parameters

-Assembly

The name of the assembly.

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

-AssemblyLocation

The location of the assembly. Values: LocalFile - a local directory; GAC - the Global Assembly Cache.

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

-Confirm

Prompts you for confirmation before executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Description

A description of the assembly.

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

-Enable

Enables the UDF.

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

-Identity

The path and filename of the UDF.

Type:UserDefinedFunction
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-WhatIf

Displays a message that describes the effect of the command instead of executing the command. For more information, type the following command: get-help about_commonparameters

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False