We are trying to prepare an inventory of number of CPU cores assigned to servers. The idea is to have a report with server name and CPU cores columns. Below PowerShell has been tried but did not get the result. Anyone can support on this.
Could you please format your code as code here in the forum?
When you post code, sample data, console output or error messages please format it as code using the preformatted text button ( </> ). Simply place your cursor on an empty line, click the button and paste your code.