Get-Process | Select-Object -Property Name, *Memory
1 answer
This PowerShell command retrieves a list of processes running on your computer using the Get-Process cmdlet. It then selects the object properties "Name" and all properties that contain the word "Memory" using the Select-Object cmdlet. The output will include the process names and memory-related properties such as WorkingSet, PrivateMemorySize, and VirtualMemorySize.