Since wmic calls are deprecated by Microsoft, how can I use Get-CimInstance to get the same information as wmic cpu get SocketDesignation?
How can I get the processor "SocketDesignation" with Get-CimInstance?
479 Views Asked by golo At
2
There are 2 best solutions below
Related Questions in POWERSHELL
- PowerShell Linphone Configuration
- How avoid \t being converted to Tab in Powershell
- How do I get my terminal to work in VS Code? Exit Code:2, doesn't allow me to type anything
- Npm command not working in powershell but works in cmd
- Issue with path not being treated as encapsulated when calling cmd /C
- Native command throws error only when I redirect to a variable
- Logic Apps and long running Azure Function (Powershell)
- April fools - PsExec (PsTools)
- How to use nested ForEach-Object
- Batch Script-Powershell MessageBox | How do I set TopMost within PS command line of Batch?
- Execution Stuck at Get-PnPPage if function executed on Button Click
- How can I expand a column from group output?
- How to use expression in regex -replace with capturing group in powershell
- powershell where-object -cnotmatch filter unwanted lines
- How to make Visual Studio 2022 project launch Windows Terminal instead of PowerShell?
Related Questions in WMI
- NullReferenceException when Invoking Method to Enable/Disable Smart Card Reader using C#
- Running wmi queries as a non-admin user on a remote machine using C#
- WMI from centos to remote host
- Getting system info using WMI
- Getting Windows version 23H2 from Win32_OperatingSystem
- How do I access a uint64 in a VARIANT structure?
- c++ WMI: Failure to both enumerate and get instance methods (Windows 10 21H2)
- Why is the WMI win32_Process commandline property is giving null for only some processes of non-admin users?
- Associating WinRT DeviceInformation objects with WMI objects (Win32_PnPEntity)
- How to get "Capabilities" of a PnP device in PowerShell
- Only one ManagementEventWatcher process listens for events at a time
- WMI ThreadsPerHost Quota exceeded
- Get SCCM Deployment's Tab properties using PowerShelll
- How to find type of PCI slots on windows server
- What event does Windows use to detect a drive has been unlocked by bitlocker?
Related Questions in WMIC
- Access denied error while installing application remotely using WMIC(Windows management Instrumentation Command line )
- Get MAC address of NIC that has the default route
- Get product name from WMIC for a variable in batch
- Inserting information found in a batch script into the registry
- Get memory location and space associated to process using processId
- Can I map a path to a windows physical drive name in Java?
- Can wmic get model info of path or physical names?
- Batch - FOR Loop to Turn WMIC Output Into Variable Not Working
- WMIC command not working in .bat file
- Using Batch to change Computer Name and UserName based off of their current Computer Name?
- Get list of full installed updates in PC
- How to make the network map drive visible in the current user when executed as administrator
- Pass netconnectionid to a netsh interface command in batch
- Output newline in text file through batch
- Using Wildcard with WMIC Version Query
Related Questions in SYSTEM-INFORMATION
- How to use System IO in powershell to get the folder name without qualifiers
- How can check a Software is instralled is install or not using java
- Getting System Info via html or java?
- fortran get system environment info in openvms
- How to display the computer's current RAM usage with JavaScript?
- Display all the lines after a particular line in a text file using Batch
- Error using Systeminfo or wmic, to remotely access
- How do I get linux system information in Ruby
- How to remove new lines in batch file?
- NW.js (node-webkit) and Vue.js issue with require systeminformation module
- Get computer information using a bootloader
- how to calculate the total system load in a script based upon wmic outputs?
- Parsing KBs from systeminfo in batch
- Is there an R function to retrieve CPU and RAM information?
- System and hardware information Library or open source project
Related Questions in CIM
- CIM Abstract class can still be instantiated on Windows?
- New-CimSession with using WMI protocol and Kerberos authentication
- How to run drush cim command for importing all the configurations
- How can I create a new scheduled Task when running script as "local system"?
- Is it possible to implement a provider method on top of python?
- Getting SCCM task sequence status on a client machine
- CimInstance Associators return an invalid path error
- Magento 1.9 Autherize.net CIM charges twice
- .NET 6 - How to use method SetCertificate from Win32_TSGatewayServerSettings with cimSession
- Are CIM/XML and RDF/XML completely different?
- getting command cim not found error in drupal while using drush commands
- How to define a ns uri modeltype for an own RDF Schema metamodel in qvto?
- Get-CIMInstance | Unable to include "-Query" parameter in splatted parameters
- Exception calling "GetOwner"
- Powershell CIM Method "Delete" is missing in Win32_ShadowCopy?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The
Win32_Processorclass has aSocketDesignationproperty. This command produces the same result for me:Alternatively, you can use the
Get-ComputerInfocmdlet to get instances of theProcessorclass, which also have aSocketDesignationproperty:In both commands, the
-Propertyparameter is selecting specific properties, instead of all available, to be present in the result.To get the same data as
wmic memorychip list fullyou would query, as above, for instances of theCIM_PhysicalMemoryclass or theWin32_PhysicalMemoryclass (the latter inherits from the former). A good way to find the WMI class that contains particular properties is to take a seemingly-unique property name, sayBankLabel, and search for it onlearn.microsoft.comto see what classes are returned.