Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 1.74 KB

Stop-PSCountdownTimer.md

File metadata and controls

85 lines (56 loc) · 1.74 KB
external help file Module Name online version schema
PSTimers-help.xml
PSTimers
2.0.0

Stop-PSCountdownTimer

SYNOPSIS

Stop a Countdown Timer

SYNTAX

Stop-PSCountdownTimer [-WhatIf] [-Confirm] [<CommonParameters>]

DESCRIPTION

When you start a PSCountdownTimer, you can control it from your command prompt with the $PSCountdownClock synchronized hashtable. You can set the Running property to $False to terminate it. Or you can run this command. This command will terminate the clock, remove the synchronized hashtable, and clean up the runspace.

EXAMPLES

Example 1

PS C:\> Stop-PSCountdownTimer

This command supports -WhatIf.

PARAMETERS

-Confirm

Prompts you for confirmation before running the cmdlet.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf

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

-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi

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

None

OUTPUTS

None

NOTES

RELATED LINKS

Start-PSCountdownTimer