CmdID / PowerShell / Cmdlets / New
New-CertificateNotificationTask
Creates a new task in the Task Scheduler that will be triggered when a certificate is replaced, expired, or about to expired. Windows Server PowerShell reference
From the Windows Server PowerShell reference 7 parameters Its page in the reference
Parameters
-ChannelSets the channel of the CertificateServicesClient-Notifications log that will be monitored for certificate lifecycle events.-Confirm, -cfPrompts you for confirmation before running the cmdlet.-NameSpecifies the unique name for the certificate notification task.-PSScriptIdentifies the Windows PowerShell script that will be triggered by the certificate notification task.-RunTaskForExistingCertificatesGenerates a replacement notification for any certificate in the My store that has been replaced in the past.-TypeSpecifies the type of events that will trigger certificate notifications.-WhatIf, -wiShows what would happen if the cmdlet runs.