Skip to content

Latest commit

 

History

History
91 lines (59 loc) · 1.91 KB

Stop-PSClock.md

File metadata and controls

91 lines (59 loc) · 1.91 KB
external help file Module Name online version schema
PSClock-help.xml
PSClock
2.0.0

Stop-PSClock

SYNOPSIS

Stop a running PSClock.

SYNTAX

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

DESCRIPTION

Use this command to stop a running PSClock from the PowerShell prompt. You can also right-click the clock to dismiss it, or close and remove the runspace it is using.

If you close the PowerShell session that launched the clock, the clock will also be closed. Note that this forced closing will not delete the flag file which indicates that a clock is running. The next time you try to start a clock you may see a warning. Delete the specified file and try starting a clock again.

EXAMPLES

Example 1

PS C:\> Stop-PSClock

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

Learn more about PowerShell: http://jdhitsolutions.com/blog/essential-powershell-resources/

RELATED LINKS

Set-PSClock

Get-PSClock

Start-PSClock