I am trying to capture some data on CPU activity on a SQL instance.
Get-Process | Sort CPU -descending | Select -first 10 -Property ID,ProcessName,CPU
The PowerShell above give me the following output :
How do i modify the powershell to include a timestamp for each row. And output should look something like this.

