Hi,
Does this meet your needs? The creation time of a subscription is not recorded in the registry.
$path = "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\EventCollector\Subscriptions"
Get-ChildItem -Path $path|Select-Object -Property PSChildName,@{name='Enabled';expression={($_|Get-ItemProperty -Name Enabled).Enabled}}
Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.