These pages cover SQL Monitor 10, which is not the latest version. Help for other versions is also available.
Remove-SqlMonitorAnnotation
Published 17 August 2020
Removes the annotation on a target at a specified time.
Syntax
- Remove-SqlMonitorAnnotation [-Target] <Instance> [-UtcDate] <datetime> [<CommonParameters>]
Description
The Remove-SqlMonitorAnnotation cmdlet removes the annotation on a target at a specified time.
Parameters
-Target
<Instance>
The SQL Server instance whose annotations are to be removed.
Aliases | None |
Required? | true |
Position? | 1 |
Default Value | None |
Accept Pipeline Input | True (ByValue) |
Accept Wildcard Characters | false |
-UtcDate
<DateTime>
The time of the annotation to remove
Aliases | None |
Required? | true |
Position? | 2 |
Default Value | None |
Accept Pipeline Input | False |
Accept Wildcard Characters | false |
<CommonParameters>
This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see http://technet.microsoft.com/en-us/library/hh847884.aspx.
Inputs
The input type is the type of the objects that you can pipe to the cmdlet.
-
None.
You cannot pipe input to this cmdlet.
Return values
The output type is the type of the objects that the cmdlet emits.
-
None.
You cannot pipe input to this cmdlet.
Examples
-------------------------- EXAMPLE 1 --------------------------
- Remove-SqlMonitorAnnotation -Target $instance -UtcDate $date