CmdID / PowerShell / Cmdlets / Get
Get-DiagnosticStoreCapacity
Fetches the current diagnostic store capacity. Windows Server PowerShell reference
From the Windows Server PowerShell reference 2 parameters Its page in the reference
Parameters
-Size, -sGet configured size capacity (megabytes) of the Diagnostic store.-Time, -tGet configured time capacity (hours) of the Diagnostic store.