I am just getting started using powershell and i came across am issue. I found someone who was piping their commands through select and grabbing only the properties they need. This also removed any property not needed which, was exactly what i needed. However, i noticed that the different properties i use on one command are applied to another even after changing them in the next command. Any ideas? My code is at the bottom
Write-Output "========================================================"
Get-CimInstance -ClassName Win32_Processor | select -Property Manufacturer, DeviceID, LoadPercentage
Write-Output "========================================================"
Get-CimInstance -ClassName Win32_PhysicalMemory | select -Property BankLabel, Speed, Tag, PartNumber