Skip to content

Edit-PodeTimer

SYNOPSIS

Edits an existing Timer.

SYNTAX

Edit-PodeTimer [-Name] <String> [[-Interval] <Int32>] [[-ScriptBlock] <ScriptBlock>]
 [[-ArgumentList] <Object[]>] [<CommonParameters>]

DESCRIPTION

Edits an existing Timer's properties, such as interval or scriptblock.

EXAMPLES

EXAMPLE 1

Edit-PodeTimer -Name 'Hello' -Interval 10

PARAMETERS

-ArgumentList

Any new Arguments for the Timer.

Type: Object[]
Parameter Sets: (All)
Aliases:

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

-Interval

The new Interval for the Timer in seconds.

Type: Int32
Parameter Sets: (All)
Aliases:

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

-Name

The Name of the Timer.

Type: String
Parameter Sets: (All)
Aliases:

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

-ScriptBlock

The new ScriptBlock for the Timer.

Type: ScriptBlock
Parameter Sets: (All)
Aliases:

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

INPUTS

OUTPUTS

NOTES

Back to top