لیست دستورات موجود در wmic - بروز رسانی اول
بسم الله الرحمن الرحیم
سلام
خب قبلا در مورد دریافت اطلاعات سیستمی در اکسس آموزشی رو منتشر کرده بودیم که شما به چه صورت میتونید اطلاعات سخت افزاری یا نرم افزاری رو برنامه اکسس خودتون توسط دستور wmic دریافت کنید.
همونطور که از تیتر آموزش مشخص هست، این یک بروز رسانی برای آموزش قبلی (دریافت اطلاعات سیستمی در اکسس) هست که قراره لیست دستورات موجود در wmic
رو براتون بگم، پس با هم ادامه میدیم ...
- راه اول: استفاده از پیشنمایش دستورات در ویندوز
پیشنهاد میکنم که این راه رو به ذهنتون بسپارین چون هم راحت الوصول هست و هم نیاز به حفظ کردن تمام دستورات نیست!
خب برای این کار لازم هست تا پنجره CMD
رو باز کنید که کافیه در کلید پنجره را روی کیبوردتون فشار بدین و عبارت cmd
رو تایپ کنید و برنامه cmd.exe
رو اجرا کنید.
- در پنجره باز شده که یک پنجره ساده و استایل مشکی هست، کافیه عبارت
wmic/?
رو تایپ کنید. - در ادامه لیستی از دستورات موجود را به صورت موضوعی برای شما نمایش میده که به شرح زیر هست:
[global switches] <command> The following global switches are available: /NAMESPACE Path for the namespace the alias operate against. /ROLE Path for the role containing the alias definitions. /NODE Servers the alias will operate against. /IMPLEVEL Client impersonation level. /AUTHLEVEL Client authentication level. /LOCALE Language id the client should use. /PRIVILEGES Enable or disable all privileges. /TRACE Outputs debugging information to stderr. /RECORD Logs all input commands and output. /INTERACTIVE Sets or resets the interactive mode. /FAILFAST Sets or resets the FailFast mode. /USER User to be used during the session. /PASSWORD Password to be used for session login. /OUTPUT Specifies the mode for output redirection. /APPEND Specifies the mode for output redirection. /AGGREGATE Sets or resets aggregate mode. /AUTHORITY Specifies the <authority type> for the connection. /?[:<BRIEF|FULL>] Usage information. For more information on a specific global switch, type: switch-name /? The following alias/es are available in the current role: ALIAS - Access to the aliases available on the local system BASEBOARD - Base board (also known as a motherboard or system boa rd) management. BIOS - Basic input/output services (BIOS) management. BOOTCONFIG - Boot configuration management. CDROM - CD-ROM management. COMPUTERSYSTEM - Computer system management. CPU - CPU management. CSPRODUCT - Computer system product information from SMBIOS. DATAFILE - DataFile Management. DCOMAPP - DCOM Application management. DESKTOP - User's Desktop management. DESKTOPMONITOR - Desktop Monitor management. DEVICEMEMORYADDRESS - Device memory addresses management. DISKDRIVE - Physical disk drive management. DISKQUOTA - Disk space usage for NTFS volumes. DMACHANNEL - Direct memory access (DMA) channel management. ENVIRONMENT - System environment settings management. FSDIR - Filesystem directory entry management. GROUP - Group account management. IDECONTROLLER - IDE Controller management. IRQ - Interrupt request line (IRQ) management. JOB - Provides access to the jobs scheduled using the sche dule service. LOADORDER - Management of system services that define execution d ependencies. LOGICALDISK - Local storage device management. LOGON - LOGON Sessions. MEMCACHE - Cache memory management. MEMORYCHIP - Memory chip information. MEMPHYSICAL - Computer system's physical memory management. NETCLIENT - Network Client management. NETLOGIN - Network login information (of a particular user) mana gement. NETPROTOCOL - Protocols (and their network characteristics) managem ent. NETUSE - Active network connection management. NIC - Network Interface Controller (NIC) management. NICCONFIG - Network adapter management. NTDOMAIN - NT Domain management. NTEVENT - Entries in the NT Event Log. NTEVENTLOG - NT eventlog file management. ONBOARDDEVICE - Management of common adapter devices built into the m otherboard (system board). OS - Installed Operating System/s management. PAGEFILE - Virtual memory file swapping management. PAGEFILESET - Page file settings management. PARTITION - Management of partitioned areas of a physical disk. PORT - I/O port management. PORTCONNECTOR - Physical connection ports management. PRINTER - Printer device management. PRINTERCONFIG - Printer device configuration management. PRINTJOB - Print job management. PROCESS - Process management. PRODUCT - Installation package task management. QFE - Quick Fix Engineering. QUOTASETTING - Setting information for disk quotas on a volume. RDACCOUNT - Remote Desktop connection permission management. RDNIC - Remote Desktop connection management on a specific ne twork adapter. RDPERMISSIONS - Permissions to a specific Remote Desktop connection. RDTOGGLE - Turning Remote Desktop listener on or off remotely. RECOVEROS - Information that will be gathered from memory when th e operating system fails. REGISTRY - Computer system registry management. SCSICONTROLLER - SCSI Controller management. SERVER - Server information management. SERVICE - Service application management. SHADOWCOPY - Shadow copy management. SHADOWSTORAGE - Shadow copy storage area management. SHARE - Shared resource management. SOFTWAREELEMENT - Management of the elements of a software product ins talled on a system. SOFTWAREFEATURE - Management of software product subsets of SoftwareEle ment. SOUNDDEV - Sound Device management. STARTUP - Management of commands that run automatically when us ers log onto the computer system. SYSACCOUNT - System account management. SYSDRIVER - Management of the system driver for a base service. SYSTEMENCLOSURE - Physical system enclosure management. SYSTEMSLOT - Management of physical connection points including po rts, slots and peripherals, and proprietary connections points. TAPEDRIVE - Tape drive management. TEMPERATURE - Data management of a temperature sensor (electronic t hermometer). TIMEZONE - Time zone data management. UPS - Uninterruptible power supply (UPS) management. USERACCOUNT - User account management. VOLTAGE - Voltage sensor (electronic voltmeter) data management . VOLUME - Local storage volume management. VOLUMEQUOTASETTING - Associates the disk quota setting with a specific dis k volume. VOLUMEUSERQUOTA - Per user storage volume quota management. WMISET - WMI service operational parameters management. For more information on a specific alias, type: alias /? CLASS - Escapes to full WMI schema. PATH - Escapes to full WMI object paths. CONTEXT - Displays the state of all the global switches. QUIT/EXIT - Exits the program. For more information on CLASS/PATH/CONTEXT, type: (CLASS | PATH | CONTEXT) /?
در بالا شما لیست کامل این دستورات رو مشاهده میکنید.
حالا به عنوان نمونه میخوام دستورات زیر مجموعه مربوط به بایوس Bios
سیستم رو دریافت کنم:
wmic bios get/?
که دستورات زیر رو براتون لیست میکنه و میتونید مشاهده کنید:
BIOS - Basic input/output services (BIOS) management. HINT: BNF for Alias usage. (<alias> [WMIObject] | <alias> [<path where>] | [<alias>] <path where>) [<verb c lause>]. USAGE: BIOS ASSOC [<format specifier>] BIOS CREATE <assign list> BIOS DELETE BIOS GET [<property list>] [<get switches>] BIOS LIST [<list format>] [<list switches>] C:\Users\Admin>wmic bios get/? Property get operations. USAGE: GET [<property list>] [<get switches>] NOTE: <property list> ::= <property name> | <property name>, <property list> The following properties are available: Property Type Operation ======== ==== ========= BiosCharacteristics N/A N/A BuildNumber N/A N/A CodeSet N/A N/A CurrentLanguage N/A N/A Description N/A N/A IdentificationCode N/A N/A InstallDate N/A N/A InstallableLanguages N/A N/A LanguageEdition N/A N/A ListOfLanguages N/A N/A Manufacturer N/A N/A Name N/A N/A OtherTargetOS N/A N/A PrimaryBIOS N/A N/A ReleaseDate N/A N/A SMBIOSBIOSVersion N/A N/A SMBIOSMajorVersion N/A N/A SMBIOSMinorVersion N/A N/A SMBIOSPresent N/A N/A SerialNumber N/A N/A SoftwareElementID N/A N/A SoftwareElementState N/A N/A Status N/A N/A TargetOperatingSystem N/A N/A Version N/A N/A The following GET switches are available: /VALUE - Return value. /ALL(default) - Return the data and metadata for the attribute. /TRANSLATE:<table name> - Translate output via values from <table name>. /EVERY:<interval> [/REPEAT:<repeat count>] - Returns value every (X interval) se conds, If /REPEAT specified the command is executed <repeat count> times. /FORMAT:<format specifier> - Keyword/XSL filename to process the XML results. NOTE: Order of /TRANSLATE and /FORMAT switches influences the appearance of outp ut. Case1: If /TRANSLATE precedes /FORMAT, then translation of results will be follo wed by formatting. Case2: If /TRANSLATE succeeds /FORMAT, then translation of the formatted results will be done.
خب تا اینجا لیست دستورات که مربوط به این آموزش بود رو براتون با مثال آوردم
ان شاءالله در آموزش بعدی نحوه دریافت اطلاعات در محیط CMD
رو براتون شرح میدم.
- دریافت اطلاعات سیستمی و سخت افزاری در اکسس
- لیست دستورات موجود در wmic - بروز رسانی اول
- دریافت اطلاعات سخت افزاری توسط دستور wmic - بروز رسانی دوم
- مخفی سازی پنجره cmd در زمان دریافت اطلاعات - بروز رسانی سوم
یا علی