New-OfficeWebAppsExcelUserDefinedFunction
Creates a definition for a UDF binary.
Syntax
New-OfficeWebAppsExcelUserDefinedFunction
-Assembly <String>
[-AssemblyLocation <AssemblyLocation>]
[-Description <String>]
[-Enable]
[-WhatIf]
[-Confirm]
Description
Creates a definition for a UDF binary.
Examples
------------------EXAMPLE 1---------------------
New-OfficeWebAppsExcelUserDefinedFunction -Assembly c:\myudf.dll -AssemblyLocation LocalFile -Enable:$true -Description "My Server UDFs"
------------------EXAMPLE 2---------------------
New-OfficeWebAppsExcelUserDefinedFunction -Assembly "CompanyName.Hierarchical.MyUdfNamespace.MyUdfClassName.dll, Version=1.1.0.0, Culture=en, PublicKeyToken=e8123117d7ba9ae38" -AssemblyLocation GAC -Enable:$true -Description "My GAC Server UDFs"
Parameters
-Assembly
The name of the assembly.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
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
Description of the UDF.
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 |
-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 |