Skip to main content

Custom Field Object Helper

Generated Cmdlet Help

This page has been generated from the NinjaOne PowerShell module source. To make changes please edit the appropriate PowerShell source file.

SYNOPSIS

Create a new Custom Field object.

SYNTAX

New-NinjaOneCustomFieldObject [-Name] <String> [-Value] <Object> [[-IsHTML] <Boolean>]
[-ProgressAction <ActionPreference>] [<CommonParameters>]

DESCRIPTION

Creates a new Custom Field object containing required / specified properties / structure.

EXAMPLES

EXAMPLE 1

$newObject = @{ Name = 'Example' }
PS> New-NinjaOneCustomFieldObject @newObject

Creates a new resource with the specified properties.

PARAMETERS

-Name

The custom field name.

Type: String
Parameter Sets: (All)
Aliases:

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

-Value

The custom field value.

Type: Object
Parameter Sets: (All)
Aliases:

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

-IsHTML

Is the custom field value HTML.

Type: Boolean
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: False
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.

INPUTS

OUTPUTS

[Object]

A new Custom Field object.

NOTES