Wmi Get Printer Serial Number

  1. Wmi Get Printer Model
  2. Wmic Command To Get Serial Number
  3. Wmi For Serial Number
Active1 year, 5 months ago

How can I get HP product number (not the serial number). (Get-WmiObject -Namespace Root wmi MS_SystemInformation -ComputerName $PC. Restart zebra printer via. Have you ever wanted to test WMI using the command line (outside of VBSCRIPT)? If so, then WMIC is the tool for you. In its simplest form, WMIC is a utility that allows you to interact with WMI from a WMI-aware command-line shell. The Get-Printer cmdlet retrieves a list of. Then Windows PowerShell® calculates an optimum throttle limit for the cmdlet based on the number of CIM cmdlets that.

Is there any way to gather Serial Number info for HP Printers on Windows using only the CMD?I don't need a third party tool. What I need is to be able to query them from CMD.For the workstations I use the [wmic /node:COMPUTER bios get serialnumber] command to get what I want.I was wondering if there's a way, a script of some kind that could perform the same action.

Thanks

iCodez
117k25 gold badges231 silver badges234 bronze badges
nbnlkonbnlko

1 Answer

I cannot find an option to include the serial number as it is not supported by the vbscript Win32_Printer class, however you may be able to retrieve unique information from this script.

Option Explicit

AWS-Cloud-Architect-RobAWS-Cloud-Architect-Rob
2491 gold badge2 silver badges15 bronze badges
Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.

Not the answer you're looking for? Browse other questions tagged vbavbscriptcmdprinters or ask your own question.

Short for 'WMI console,' wmic is a command line command to query WMI (Windows Management Instrumentation) entries.

Note

Blackberry 8520 360 view. Beginning in 2012, WMIC is deprecated in favor of PowerShell cmdlets which perform equivalent CIM operations, such as get-wmiobject, invoke-wmimethod, Get-wmiobject, and gwmi.

Bomba patch ps2 iso. CoolROM.com's game information and ROM (ISO) download page for World Soccer Winning Eleven 10 (Japan) (Sony Playstation 2).

Availability

Online email address extractor. Wmic is an external command that is available for the following Microsoft operating systems. In Windows 10, it is located at C:WindowsSystem32wbemWMIC.exe.

Syntax

Global switches

Serial
/NAMESPACENAMESPACE - Path for the namespace the alias is to operate against. Namespaces are always relative. That is, if the namespace does not begin with a ' it will be assumed to be relative to the current namespace.
USAGE:
/NAMESPACE:<namespace>
/ROLEROLE - Path for the role containing the alias definitions to be available for the utility session.
USAGE:
/ROLE:<namespace>
NOTE: Roles are namespaces and should be treated in the same way - i.e., relative paths should behave appropriately (default namespace is
'rootcli').
/NODENODE - Specify what servers the alias will operate against.
USAGE:
/NODE:<machine id list>
NOTE: <machine id list> ::= <@filename | machine id> | <@filename | machine id> <,machine id list>
/IMPLEVELIMPLEVEL - Determine what level the command line should impersonate. Default is 'Impersonate'.
USAGE:
/IMPLEVEL:<implevel>[/AUTHORITY:<authority type>]
Various implevels are as follows:
Impersonation Level
------------------
Anonymous
Identify
Impersonate
Delegate
Note: Use /AUTHORITY switch for specifying the authority type.
/AUTHLEVELAUTHLEVEL - Specify the level the command line should authenticate. Default is 'Pktprivacy'.
USAGE:
/AUTHLEVEL:<authlevel>
Various authlevels are as follows:
Authlevel
---------
Default
None
Connect
Call
Pkt
Pktintegrity
Pktprivacy
/LOCALELOCALE - Specify the language id the command line should use.
USAGE:
/LOCALE:<locale identifier>
NOTE: The parameter to the 'LOCALE' switch is of the form MS_XXX.
Where XXX for English is 409, XXX for Finnish is 40b.
/PRIVILEGESPRIVILEGES - Enable or disable all privileges.
USAGE:
/PRIVILEGES:<option>
NOTE: Allowed value(s) for <option> is either ENABLE or DISABLE.
/TRACETRACE - Specify whether output debug information is to be copied to stderr during the processing of the request(s).
USAGE:
/TRACE:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
/RECORDRECORD - Logs all entered commands and WMIC's output to a file in XML format.
USAGE:
/RECORD:<filepath>
/INTERACTIVEINTERACTIVE - Sets or resets the interactive mode.
USAGE:
/INTERACTIVE:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
/FAILFASTFAILFAST - Sets or resets the FailFast mode.
USAGE:
/FAILFAST:<option>
NOTE: Allowed value(s) for <option> is either ON or OFF.
/USERUSER - Provides the user to be used during the session.
USAGE:
/USER:<userid>
NOTE: User should be provided in the form <domain><user>.
/PASSWORDPASSWORD - Provides the password to be used in logging on to this session.
USAGE:
/PASSWORD:<password>
/OUTPUTOUTPUT - Specifies the mode for output redirection.
USAGE:
/OUTPUT:<outputspec>
NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
STDOUT - Output will be redirected to the STDOUT.
CLIPBOARD - Output will be copied on to CLIPBOARD.
<filename> - Output will be written to the specified file.
/APPENDAPPEND - Specifies the mode for output redirection.
USAGE:
/APPEND:<outputspec>
NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
STDOUT - Output will be redirected to the STDOUT.
CLIPBOARD - Output will be copied on to CLIPBOARD.
<filename> - Output will be appended to the specified file.
/AGGREGATEAGGREGATE - Determines the mode of displaying results.
USAGE:
/AGGREGATE:<option>.
NOTE: Allowed value(s) for <option> is either ON or OFF.
/AUTHORITYAUTHORITY - Specifies the <authority type> for the connection.
USAGE:
/AUTHORITY:<authority type>
/?/? - Displays specification/syntax for help commands.
USAGE:
/?:[<helpType>]
NOTE: Allowed value(s) for <helpType> is either BRIEF or FULL.
Note

Enclose the switch value in double quotes, if the value contains special characters like '-' or '/'.

Books, 'Breaking India - Rajiv Malhotra'. PDF download. Download 1 file. SINGLE PAGE PROCESSED JP2 ZIP download. Download 1 file. Breaking India Rajiv Malhotra Epub Books >>> 1 / 4. Hafiz nazar ahmed quran translation pdf free download. Breaking India Western Interventions in Dravidian and Dalit Faultlines Publisher. Rajiv Malhotra. Rajiv Malhotra is an internationally known researcher. Breaking india rajiv malhotra pdf download.

The following alias/es are available in the current role:

ALIASAccess to the aliases available on the local system.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
ALIAS ASSOC [<format specifier>]
ALIAS CALL <method name> [<actual param list>]
ALIAS CREATE <assign list>
ALIAS DELETE
ALIAS GET [<property list>] [<get switches>]
ALIAS LIST [<list format>] [<list switches>]
BASEBOARDBase board (also known as a motherboard or system board) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
BASEBOARD ASSOC [<format specifier>]
BASEBOARD CREATE <assign list>
BASEBOARD DELETE
BASEBOARD GET [<property list>] [<get switches>]
BASEBOARD LIST [<list format>] [<list switches>]
BIOSBasic input/output services (BIOS) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
BIOS ASSOC [<format specifier>]
BIOS CREATE <assign list>
BIOS DELETE
BIOS GET [<property list>] [<get switches>]
BIOS LIST [<list format>] [<list switches>]
BOOTCONFIGBoot configuration management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
BOOTCONFIG ASSOC [<format specifier>]
BOOTCONFIG CREATE <assign list>
BOOTCONFIG DELETE
BOOTCONFIG GET [<property list>] [<get switches>]
BOOTCONFIG LIST [<list format>] [<list switches>]
CDROMCD-ROM management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
CDROM ASSOC [<format specifier>]
CDROM CREATE <assign list>
CDROM DELETE
CDROM GET [<property list>] [<get switches>]
CDROM LIST [<list format>] [<list switches>]
COMPUTERSYSTEMComputer system management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
COMPUTERSYSTEM ASSOC [<format specifier>]
COMPUTERSYSTEM CALL <method name> [<actual param list>]
COMPUTERSYSTEM CREATE <assign list>
COMPUTERSYSTEM DELETE
COMPUTERSYSTEM GET [<property list>] [<get switches>]
COMPUTERSYSTEM LIST [<list format>] [<list switches>]
COMPUTERSYSTEM SET [<assign list>]
CPUCPU management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
CPU ASSOC [<format specifier>]
CPU CREATE <assign list>
CPU DELETE
CPU GET [<property list>] [<get switches>]
CPU LIST [<list format>] [<list switches>]
CSProductComputer system product information from SMBIOS.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
CSProduct ASSOC [<format specifier>]
CSProduct CREATE <assign list>
CSProduct DELETE
CSProduct GET [<property list>] [<get switches>]
CSProduct LIST [<list format>] [<list switches>]
DATAFILEDataFile Management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DATAFILE ASSOC [<format specifier>]
DATAFILE CALL <method name> [<actual param list>]
DATAFILE CREATE <assign list>
DATAFILE DELETE
DATAFILE GET [<property list>] [<get switches>]
DATAFILE LIST [<list format>] [<list switches>]
DCOMAPPDCOM Application management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DCOMAPP ASSOC [<format specifier>]
DCOMAPP CREATE <assign list>
DCOMAPP DELETE
DCOMAPP GET [<property list>] [<get switches>]
DCOMAPP LIST [<list format>] [<list switches>]
DESKTOPUser's Desktop management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DESKTOP ASSOC [<format specifier>]
DESKTOP CREATE <assign list>
DESKTOP DELETE
DESKTOP GET [<property list>] [<get switches>]
DESKTOP LIST [<list format>] [<list switches>]
DESKTOPMONITORDesktop Monitor management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DESKTOPMONITOR ASSOC [<format specifier>]
DESKTOPMONITOR CREATE <assign list>
DESKTOPMONITOR DELETE
DESKTOPMONITOR GET [<property list>] [<get switches>]
DESKTOPMONITOR LIST [<list format>] [<list switches>]
DEVICEMEMORYADDRESSDevice memory addresses management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DEVICEMEMORYADDRESS ASSOC [<format specifier>]
DEVICEMEMORYADDRESS CREATE <assign list>
DEVICEMEMORYADDRESS DELETE
DEVICEMEMORYADDRESS GET [<property list>] [<get switches>]
DEVICEMEMORYADDRESS LIST [<list format>] [<list switches>]
DISKDRIVEPhysical disk drive management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DISKDRIVE ASSOC [<format specifier>]
DISKDRIVE CREATE <assign list>
DISKDRIVE DELETE
DISKDRIVE GET [<property list>] [<get switches>]
DISKDRIVE LIST [<list format>] [<list switches>]
DISKQUOTADisk space usage for NTFS volumes.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DISKQUOTA ASSOC [<format specifier>]
DISKQUOTA CREATE <assign list>
DISKQUOTA DELETE
DISKQUOTA GET [<property list>] [<get switches>]
DISKQUOTA LIST [<list format>] [<list switches>]
DISKQUOTA SET [<assign list>]
DMACHANNELDirect memory access (DMA) channel management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
DMACHANNEL ASSOC [<format specifier>]
DMACHANNEL CREATE <assign list>
DMACHANNEL DELETE
DMACHANNEL GET [<property list>] [<get switches>]
DMACHANNEL LIST [<list format>] [<list switches>]
ENVIRONMENTSystem environment settings management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
ENVIRONMENT ASSOC [<format specifier>]
ENVIRONMENT CREATE <assign list>
ENVIRONMENT DELETE
ENVIRONMENT GET [<property list>] [<get switches>]
ENVIRONMENT LIST [<list format>] [<list switches>]
ENVIRONMENT SET [<assign list>]
FSDIRFilesystem directory entry management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
FSDIR ASSOC [<format specifier>]
FSDIR CALL <method name> [<actual param list>]
FSDIR CREATE <assign list>
FSDIR DELETE
FSDIR GET [<property list>] [<get switches>]
FSDIR LIST [<list format>] [<list switches>]
GROUPGroup account management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
GROUP ASSOC [<format specifier>]
GROUP CALL <method name> [<actual param list>]
GROUP CREATE <assign list>
GROUP DELETE
GROUP GET [<property list>] [<get switches>]
GROUP LIST [<list format>] [<list switches>]
IDECONTROLLERIDE Controller management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
IDECONTROLLER ASSOC [<format specifier>]
IDECONTROLLER CREATE <assign list>
IDECONTROLLER DELETE
IDECONTROLLER GET [<property list>] [<get switches>]
IDECONTROLLER LIST [<list format>] [<list switches>]
IRQInterrupt request line (IRQ) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
IRQ ASSOC [<format specifier>]
IRQ CREATE <assign list>
IRQ DELETE
IRQ GET [<property list>] [<get switches>]
IRQ LIST [<list format>] [<list switches>]
JOBProvides access to the jobs scheduled using the schedule service.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
JOB ASSOC [<format specifier>]
JOB CALL <method name> [<actual param list>]
JOB CREATE <assign list>
JOB DELETE
JOB GET [<property list>] [<get switches>]
JOB LIST [<list format>] [<list switches>]
LOADORDERManagement of system services that define execution dependencies.
LOADORDER - Management of system services that define execution dependencies.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
LOADORDER ASSOC [<format specifier>]
LOADORDER CREATE <assign list>
LOADORDER DELETE
LOADORDER GET [<property list>] [<get switches>]
LOADORDER LIST [<list format>] [<list switches>]
LOGICALDISKLocal storage device management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
LOGICALDISK ASSOC [<format specifier>]
LOGICALDISK CALL <method name> [<actual param list>]
LOGICALDISK CREATE <assign list>
LOGICALDISK DELETE
LOGICALDISK GET [<property list>] [<get switches>]
LOGICALDISK LIST [<list format>] [<list switches>]
LOGICALDISK SET [<assign list>]
LOGONLOGON Sessions.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
LOGON ASSOC [<format specifier>]
LOGON CREATE <assign list>
LOGON DELETE
LOGON GET [<property list>] [<get switches>]
LOGON LIST [<list format>] [<list switches>]
MEMCACHECache memory management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
MEMCACHE ASSOC [<format specifier>]
MEMCACHE CREATE <assign list>
MEMCACHE DELETE
MEMCACHE GET [<property list>] [<get switches>]
MEMCACHE LIST [<list format>] [<list switches>]
MEMORYCHIPMemory chip information.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
MEMORYCHIP ASSOC [<format specifier>]
MEMORYCHIP CREATE <assign list>
MEMORYCHIP DELETE
MEMORYCHIP GET [<property list>] [<get switches>]
MEMORYCHIP LIST [<list format>] [<list switches>]
MEMPHYSICALComputer system's physical memory management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
MEMPHYSICAL ASSOC [<format specifier>]
MEMPHYSICAL CREATE <assign list>
MEMPHYSICAL DELETE
MEMPHYSICAL GET [<property list>] [<get switches>]
MEMPHYSICAL LIST [<list format>] [<list switches>]
NETCLIENTNetwork Client management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NETCLIENT ASSOC [<format specifier>]
NETCLIENT CREATE <assign list>
NETCLIENT DELETE
NETCLIENT GET [<property list>] [<get switches>]
NETCLIENT LIST [<list format>] [<list switches>]
NETLOGINNetwork login information (of a particular user) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NETLOGIN ASSOC [<format specifier>]
NETLOGIN CREATE <assign list>
NETLOGIN DELETE
NETLOGIN GET [<property list>] [<get switches>]
NETLOGIN LIST [<list format>] [<list switches>]
NETPROTOCOLProtocols (and their network characteristics) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NETPROTOCOL ASSOC [<format specifier>]
NETPROTOCOL CREATE <assign list>
NETPROTOCOL DELETE
NETPROTOCOL GET [<property list>] [<get switches>]
NETPROTOCOL LIST [<list format>] [<list switches>]
NETUSEActive network connection management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NETUSE ASSOC [<format specifier>]
NETUSE CREATE <assign list>
NETUSE DELETE
NETUSE GET [<property list>] [<get switches>]
NETUSE LIST [<list format>] [<list switches>]
NICNetwork Interface Controller (NIC) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NIC ASSOC [<format specifier>]
NIC CREATE <assign list>
NIC DELETE
NIC GET [<property list>] [<get switches>]
NIC LIST [<list format>] [<list switches>]
NICCONFIGNetwork adapter management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NICCONFIG ASSOC [<format specifier>]
NICCONFIG CALL <method name> [<actual param list>]
NICCONFIG CREATE <assign list>
NICCONFIG DELETE
NICCONFIG GET [<property list>] [<get switches>]
NICCONFIG LIST [<list format>] [<list switches>]
NTDOMAINNT Domain management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NTDOMAIN ASSOC [<format specifier>]
NTDOMAIN CREATE <assign list>
NTDOMAIN DELETE
NTDOMAIN GET [<property list>] [<get switches>]
NTDOMAIN LIST [<list format>] [<list switches>]
NTDOMAIN SET [<assign list>]
NTEVENTEntries in the NT Event Log.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NTEVENT ASSOC [<format specifier>]
NTEVENT CREATE <assign list>
NTEVENT DELETE
NTEVENT GET [<property list>] [<get switches>]
NTEVENT LIST [<list format>] [<list switches>]
NTEVENTLOGNT eventlog file management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
NTEVENTLOG ASSOC [<format specifier>]
NTEVENTLOG CALL <method name> [<actual param list>]
NTEVENTLOG CREATE <assign list>
NTEVENTLOG DELETE
NTEVENTLOG GET [<property list>] [<get switches>]
NTEVENTLOG LIST [<list format>] [<list switches>]
NTEVENTLOG SET [<assign list>]
ONBOARDDEVICEManagement of common adapter devices built into the motherboard (system board).
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
ONBOARDDEVICE ASSOC [<format specifier>]
ONBOARDDEVICE CREATE <assign list>
ONBOARDDEVICE DELETE
ONBOARDDEVICE GET [<property list>] [<get switches>]
ONBOARDDEVICE LIST [<list format>] [<list switches>]
OSInstalled Operating System/s management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
OS ASSOC [<format specifier>]
OS CALL <method name> [<actual param list>]
OS CREATE <assign list>
OS DELETE
OS GET [<property list>] [<get switches>]
OS LIST [<list format>] [<list switches>]
OS SET [<assign list>]
PAGEFILEVirtual memory file swapping management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PAGEFILE ASSOC [<format specifier>]
PAGEFILE CREATE <assign list>
PAGEFILE DELETE
PAGEFILE GET [<property list>] [<get switches>]
PAGEFILE LIST [<list format>] [<list switches>]
PAGEFILESETPage file settings management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PAGEFILESET ASSOC [<format specifier>]
PAGEFILESET CREATE <assign list>
PAGEFILESET DELETE
PAGEFILESET GET [<property list>] [<get switches>]
PAGEFILESET LIST [<list format>] [<list switches>]
PAGEFILESET SET [<assign list>]
PARTITIONManagement of partitioned areas of a physical disk.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PARTITION ASSOC [<format specifier>]
PARTITION CREATE <assign list>
PARTITION DELETE
PARTITION GET [<property list>] [<get switches>]
PARTITION LIST [<list format>] [<list switches>]
PORTI/O port management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PORT ASSOC [<format specifier>]
PORT CREATE <assign list>
PORT DELETE
PORT GET [<property list>] [<get switches>]
PORT LIST [<list format>] [<list switches>]
PORTCONNECTORPhysical connection ports management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PORTCONNECTOR ASSOC [<format specifier>]
PORTCONNECTOR CREATE <assign list>
PORTCONNECTOR DELETE
PORTCONNECTOR GET [<property list>] [<get switches>]
PORTCONNECTOR LIST [<list format>] [<list switches>]
PRINTERPrinter device management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PRINTER ASSOC [<format specifier>]
PRINTER CALL <method name> [<actual param list>]
PRINTER CREATE <assign list>
PRINTER DELETE
PRINTER GET [<property list>] [<get switches>]
PRINTER LIST [<list format>] [<list switches>]
PRINTER SET [<assign list>]
PRINTERCONFIGPrinter device configuration management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PRINTERCONFIG ASSOC [<format specifier>]
PRINTERCONFIG CREATE <assign list>
PRINTERCONFIG DELETE
PRINTERCONFIG GET [<property list>] [<get switches>]
PRINTERCONFIG LIST [<list format>] [<list switches>]
PRINTJOBPrint job management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PRINTJOB ASSOC [<format specifier>]
PRINTJOB CALL <method name> [<actual param list>]
PRINTJOB CREATE <assign list>
PRINTJOB DELETE
PRINTJOB GET [<property list>] [<get switches>]
PRINTJOB LIST [<list format>] [<list switches>]
PROCESSProcess management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
PROCESS ASSOC [<format specifier>]
PROCESS CALL <method name> [<actual param list>]
PROCESS CREATE <assign list>
PROCESS DELETE
PROCESS GET [<property list>] [<get switches>]
PROCESS LIST [<list format>] [<list switches>]
ProductInstallation package task management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
Product ASSOC [<format specifier>]
Product CALL <method name> [<actual param list>]
Product CREATE <assign list>
Product DELETE
Product GET [<property list>] [<get switches>]
Product LIST [<list format>] [<list switches>]
QFEQuick Fix Engineering.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
QFE ASSOC [<format specifier>]
QFE CREATE <assign list>
QFE DELETE
QFE GET [<property list>] [<get switches>]
QFE LIST [<list format>] [<list switches>]
QUOTASETTINGSetting information for disk quotas on a volume.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
QUOTASETTING ASSOC [<format specifier>]
QUOTASETTING CREATE <assign list>
QUOTASETTING DELETE
QUOTASETTING GET [<property list>] [<get switches>]
QUOTASETTING LIST [<list format>] [<list switches>]
QUOTASETTING SET [<assign list>]
RDACCOUNTRemote Desktop connection permission management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
RDACCOUNT ASSOC [<format specifier>]
RDACCOUNT CALL <method name> [<actual param list>]
RDACCOUNT CREATE <assign list>
RDACCOUNT DELETE
RDACCOUNT GET [<property list>] [<get switches>]
RDACCOUNT LIST [<list format>] [<list switches>]
RDNICRemote Desktop connection management on a specific network adapter.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
RDNIC ASSOC [<format specifier>]
RDNIC CALL <method name> [<actual param list>]
RDNIC CREATE <assign list>
RDNIC DELETE
RDNIC GET [<property list>] [<get switches>]
RDNIC LIST [<list format>] [<list switches>]
RDNIC SET [<assign list>]
RDPERMISSIONSPermissions to a specific Remote Desktop connection.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
RDPERMISSIONS ASSOC [<format specifier>]
RDPERMISSIONS CALL <method name> [<actual param list>]
RDPERMISSIONS CREATE <assign list>
RDPERMISSIONS DELETE
RDPERMISSIONS GET [<property list>] [<get switches>]
RDPERMISSIONS LIST [<list format>] [<list switches>]
RDTOGGLETurning Remote Desktop listener on or off remotely.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
RDTOGGLE ASSOC [<format specifier>]
RDTOGGLE CALL <method name> [<actual param list>]
RDTOGGLE CREATE <assign list>
RDTOGGLE DELETE
RDTOGGLE GET [<property list>] [<get switches>]
RDTOGGLE LIST [<list format>] [<list switches>]
RECOVEROSInformation that will be gathered from memory when the operating system fails.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
RECOVEROS ASSOC [<format specifier>]
RECOVEROS CREATE <assign list>
RECOVEROS DELETE
RECOVEROS GET [<property list>] [<get switches>]
RECOVEROS LIST [<list format>] [<list switches>]
RECOVEROS SET [<assign list>]
REGISTRYComputer system Registry management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
REGISTRY ASSOC [<format specifier>]
REGISTRY CREATE <assign list>
REGISTRY DELETE
REGISTRY GET [<property list>] [<get switches>]
REGISTRY LIST [<list format>] [<list switches>]
REGISTRY SET [<assign list>]
SCSICONTROLLERSCSI Controller management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SCSICONTROLLER ASSOC [<format specifier>]
SCSICONTROLLER CALL <method name> [<actual param list>]
SCSICONTROLLER CREATE <assign list>
SCSICONTROLLER DELETE
SCSICONTROLLER GET [<property list>] [<get switches>]
SCSICONTROLLER LIST [<list format>] [<list switches>]
SERVERServer information management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SERVER ASSOC [<format specifier>]
SERVER CREATE <assign list>
SERVER DELETE
SERVER GET [<property list>] [<get switches>]
SERVER LIST [<list format>] [<list switches>]
SERVICEService application management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SERVICE ASSOC [<format specifier>]
SERVICE CALL <method name> [<actual param list>]
SERVICE CREATE <assign list>
SERVICE DELETE
SERVICE GET [<property list>] [<get switches>]
SERVICE LIST [<list format>] [<list switches>]
SHADOWCOPYShadow copy management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SHADOWCOPY ASSOC [<format specifier>]
SHADOWCOPY CALL <method name> [<actual param list>]
SHADOWCOPY CREATE <assign list>
SHADOWCOPY DELETE
SHADOWCOPY GET [<property list>] [<get switches>]
SHADOWCOPY LIST [<list format>] [<list switches>]
SHADOWSTORAGEShadow copy storage area management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SHADOWSTORAGE ASSOC [<format specifier>]
SHADOWSTORAGE CALL <method name> [<actual param list>]
SHADOWSTORAGE CREATE <assign list>
SHADOWSTORAGE DELETE
SHADOWSTORAGE GET [<property list>] [<get switches>]
SHADOWSTORAGE LIST [<list format>] [<list switches>]
SHADOWSTORAGE SET [<assign list>]
SHAREShared resource management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SHARE ASSOC [<format specifier>]
SHARE CALL <method name> [<actual param list>]
SHARE CREATE <assign list>
SHARE DELETE
SHARE GET [<property list>] [<get switches>]
SHARE LIST [<list format>] [<list switches>]
SOFTWAREELEMENTManagement of the elements of a software product installed on a system.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SOFTWAREELEMENT ASSOC [<format specifier>]
SOFTWAREELEMENT CREATE <assign list>
SOFTWAREELEMENT DELETE
SOFTWAREELEMENT GET [<property list>] [<get switches>]
SOFTWAREELEMENT LIST [<list format>] [<list switches>]
SOFTWAREFEATUREManagement of software product subsets of SoftwareElement.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SOFTWAREFEATURE ASSOC [<format specifier>]
SOFTWAREFEATURE CALL <method name> [<actual param list>]
SOFTWAREFEATURE CREATE <assign list>
SOFTWAREFEATURE DELETE
SOFTWAREFEATURE GET [<property list>] [<get switches>]
SOFTWAREFEATURE LIST [<list format>] [<list switches>]
SOUNDDEVSound Device management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SOUNDDEV ASSOC [<format specifier>]
SOUNDDEV CREATE <assign list>
SOUNDDEV DELETE
SOUNDDEV GET [<property list>] [<get switches>]
SOUNDDEV LIST [<list format>] [<list switches>]
STARTUPManagement of commands that run automatically when users log onto the computer system.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
STARTUP ASSOC [<format specifier>]
STARTUP CREATE <assign list>
STARTUP DELETE
STARTUP GET [<property list>] [<get switches>]
STARTUP LIST [<list format>] [<list switches>]
SYSACCOUNTSystem account management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SYSACCOUNT ASSOC [<format specifier>]
SYSACCOUNT CREATE <assign list>
SYSACCOUNT DELETE
SYSACCOUNT GET [<property list>] [<get switches>]
SYSACCOUNT LIST [<list format>] [<list switches>]
SYSDRIVERManagement of the system driver for a base service.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SYSDRIVER ASSOC [<format specifier>]
SYSDRIVER CALL <method name> [<actual param list>]
SYSDRIVER CREATE <assign list>
SYSDRIVER DELETE
SYSDRIVER GET [<property list>] [<get switches>]
SYSDRIVER LIST [<list format>] [<list switches>]
SYSTEMENCLOSUREPhysical system enclosure management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SYSTEMENCLOSURE ASSOC [<format specifier>]
SYSTEMENCLOSURE CREATE <assign list>
SYSTEMENCLOSURE DELETE
SYSTEMENCLOSURE GET [<property list>] [<get switches>]
SYSTEMENCLOSURE LIST [<list format>] [<list switches>]
SYSTEMSLOTManagement of physical connection points including ports, slots, and peripherals, and proprietary connections points.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
SYSTEMSLOT ASSOC [<format specifier>]
SYSTEMSLOT CREATE <assign list>
SYSTEMSLOT DELETE
SYSTEMSLOT GET [<property list>] [<get switches>]
SYSTEMSLOT LIST [<list format>] [<list switches>]
TAPEDRIVETape drive management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
TAPEDRIVE ASSOC [<format specifier>]
TAPEDRIVE CREATE <assign list>
TAPEDRIVE DELETE
TAPEDRIVE GET [<property list>] [<get switches>]
TAPEDRIVE LIST [<list format>] [<list switches>]
TEMPERATUREData management of a temperature sensor (electronic thermometer).
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
TEMPERATURE ASSOC [<format specifier>]
TEMPERATURE CREATE <assign list>
TEMPERATURE DELETE
TEMPERATURE GET [<property list>] [<get switches>]
TEMPERATURE LIST [<list format>] [<list switches>]
TIMEZONETime zone data management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
TIMEZONE ASSOC [<format specifier>]
TIMEZONE CREATE <assign list>
TIMEZONE DELETE
TIMEZONE GET [<property list>] [<get switches>]
TIMEZONE LIST [<list format>] [<list switches>]
UPSUninterruptible power supply (UPS) management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
UPS ASSOC [<format specifier>]
UPS CREATE <assign list>
UPS DELETE
UPS GET [<property list>] [<get switches>]
UPS LIST [<list format>] [<list switches>]
USERACCOUNTUser account management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
USERACCOUNT ASSOC [<format specifier>]
USERACCOUNT CALL <method name> [<actual param list>]
USERACCOUNT CREATE <assign list>
USERACCOUNT DELETE
USERACCOUNT GET [<property list>] [<get switches>]
USERACCOUNT LIST [<list format>] [<list switches>]
USERACCOUNT SET [<assign list>]
VOLTAGEVoltage sensor (electronic voltmeter) data management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
VOLTAGE ASSOC [<format specifier>]
VOLTAGE CREATE <assign list>
VOLTAGE DELETE
VOLTAGE GET [<property list>] [<get switches>]
VOLTAGE LIST [<list format>] [<list switches>]
VOLUMELocal storage volume management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
VOLUME ASSOC [<format specifier>]
VOLUME CALL <method name> [<actual param list>]
VOLUME CREATE <assign list>
VOLUME DELETE
VOLUME GET [<property list>] [<get switches>]
VOLUME LIST [<list format>] [<list switches>]
VOLUME SET [<assign list>]
VOLUMEQUOTASETTINGAssociates the disk quota setting with a specific disk volume.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
VOLUMEQUOTASETTING ASSOC [<format specifier>]
VOLUMEQUOTASETTING CREATE <assign list>
VOLUMEQUOTASETTING DELETE
VOLUMEQUOTASETTING GET [<property list>] [<get switches>]
VOLUMEQUOTASETTING LIST [<list format>] [<list switches>]
VOLUMEUSERQUOTAPer user storage volume quota management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
VOLUMEUSERQUOTA ASSOC [<format specifier>]
VOLUMEUSERQUOTA CREATE <assign list>
VOLUMEUSERQUOTA DELETE
VOLUMEUSERQUOTA GET [<property list>] [<get switches>]
VOLUMEUSERQUOTA LIST [<list format>] [<list switches>]
VOLUMEUSERQUOTA SET [<assign list>]
WMISETWMI service operational parameters management.
(<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb clause>].
USAGE:
WMISET ASSOC [<format specifier>]
WMISET CREATE <assign list>
WMISET DELETE
WMISET GET [<property list>] [<get switches>]
WMISET LIST [<list format>] [<list switches>]
WMISET SET [<assign list>]

For more information on a specific alias, type: alias /? at the command prompt.

CLASSEscapes to full WMI schema.
USAGE:
CLASS <class path expr> [<standardverb> [<verb switches>]]
PATHEscapes to full WMI object paths.
USAGE:
PATH (<path expr> | (<class path expr> [WHERE <where clause>])) [<verb clause>]
CONTEXTDisplays the state of all the global switches.
QUIT/EXITExits the program.

For more information on CLASS/PATH/CONTEXT, type: (CLASS | PATH | CONTEXT) /? at the prompt.

Examples

Note

To run the wmic command, you must have administrative rights.

Running wmic alone takes you to the wmic:rootcli>prompt. At the prompt, type /? to get help at any time or <alias> /? to get additional help with that alias. To quit from the wmic prompt, type quit or exit.

Display each of the logical disk drives on the computer, as shown below. If you wanted to see all the options for this command, including name, type: wmic logicaldisk get /? at the prompt.

This command would give you brief information about the operating system, as shown in the example below.

BuildNumberOrganizationRegisteredUserSerialNumberSystemDirectoryVersion
7601Computer HopeMrhope00123-045-6789012-34567C:Windowssystem326.1.7601

List the printer status of each of the printers installed on the computer.

The command above may appear involved, but is still relatively simple. First the /Output: is sending the command's output to the bios.html file, which will be saved into the current directory. Next, the wmic BIOS get command will retrieve the Manufacturer, Name, Serial Number, and Version of the BIOS. Finally, the /format:htable will format the results into an HTML table. Below, is an example of how the output may appear in the bios.html file.

1 Instances of Win32_BIOS

NodeManufacturerNameSerialNumberVersion
HOPE-PCDELL INC..Default System BIOS.123AB12.DELL - 20081105.

Wmi Get Printer Model

Lists each of the programs that have been installed on the computer with brief details. Note: This command could take a minute or two to complete depending on how many programs you have installed on the computer. Furthermore, the output may exceed the limit of what can be shown in the window. This command can also be made into an HTML table as explained in the previous example.

Display the model, name, and size of the hard drives installed on the computer, as shown in the example below.

ModelNameSize
WDC WD3000HLFS-75G6U1 ATA Device.PHYSICALDRIVE0300066439680
TRUSTED Mass Storage USB Device.PHYSICALDRIVE12199020382720

Wmic Command To Get Serial Number

Additional information

Wmi For Serial Number

  • See our WMI definition for further information and related links on this term.