Forum Discussion
Avi_Grinberg
Dec 19, 2021Copper Contributor
Combine PowerShell script into one line
Hi, i've this powershell command the retrieved process CPU usage (Get-Counter '\Process(*)\% Processor Time').Countersamples | where-object{$_.InstanceName -ne "_total" -and $_.InstanceName ...
farismalaeb
Dec 20, 2021Iron Contributor
If I understand you correct, then the simple answer is to create a PSCustomObect and store the result there