Remove-CertificateNotificationTask

Removes a certificate notification task from Task Scheduler.

Syntax

Remove-CertificateNotificationTask
      [-Name] <String>
      [-Confirm]
      [-WhatIf]
      [<CommonParameters>]

Description

The Remove-CertificateNotificationTask cmdlet removes from Task Scheduler a certificate notification task that was registered with the New-CertificateNotificationTask cmdlet.

Examples

EXAMPLE 1

PS C:\>Remove-CertificateNotificationTask -Name "My Task"

This example removes the task named My Task.

Required Parameters

-Name

Identifies the notification task to be deleted.

Type:String
Position:0
Default value:None
Accept pipeline input:True (ByPropertyName, ByValue)
Accept wildcard characters:False

Optional Parameters

-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

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

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.String

A String containing the name of the task to be removed.

Outputs

None