Advertisement
Guest User

Untitled

a guest
Jul 10th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.14 KB | None | 0 0
  1.  
  2.  
  3. [global switches] <command>
  4.  
  5.  
  6.  
  7. The following global switches are available:
  8.  
  9.  
  10.  
  11. NAMESPACE - Path for the namespace the alias is to operate against. Namespaces
  12.  
  13. are always relative i.e. if the namespace does not begin with a
  14.  
  15. '\\' it will be assumed to be relative to the current namespace.
  16.  
  17. USAGE:
  18.  
  19.  
  20.  
  21. /NAMESPACE:<namespace>
  22.  
  23.  
  24.  
  25. ROLE - Path for the role containing the alias definitions to be available for
  26.  
  27. the utility session.
  28.  
  29. USAGE:
  30.  
  31.  
  32.  
  33. /ROLE:<namespace>
  34.  
  35. NOTE: Roles are actually namespaces and should be treated in the same way -
  36.  
  37. i.e. relative paths should behave appropriately (default namespace is
  38.  
  39. '\\root\cli').
  40.  
  41.  
  42.  
  43. NODE - Specify which servers the alias will operate against.
  44.  
  45. USAGE:
  46.  
  47.  
  48.  
  49. /NODE:<machine id list>
  50.  
  51. NOTE: <machine id list> ::= <@filename | machine id> | <@filename | machine id> <,machine id list>
  52.  
  53.  
  54.  
  55. IMPLEVEL - Determine which level the command line should impersonate.
  56.  
  57. Default is 'Impersonate'.
  58.  
  59. USAGE:
  60.  
  61.  
  62.  
  63. /IMPLEVEL:<implevel>[/AUTHORITY:<authority type>]
  64.  
  65.  
  66.  
  67. Various implevels are as follows:
  68.  
  69. Impersonation Level
  70.  
  71. ------------------
  72.  
  73. Anonymous
  74.  
  75. Identify
  76.  
  77. Impersonate
  78.  
  79. Delegate
  80.  
  81.  
  82.  
  83. Note: Use /AUTHORITY switch for specifying the authority type.
  84.  
  85.  
  86.  
  87. AUTHLEVEL - Specify the level the command line should authenticate.
  88.  
  89. Default is 'Pktprivacy'.
  90.  
  91. USAGE:
  92.  
  93.  
  94.  
  95. /AUTHLEVEL:<authlevel>
  96.  
  97.  
  98.  
  99. Various authlevels are as follows:
  100.  
  101. Authlevel
  102.  
  103. ---------
  104.  
  105. Default
  106.  
  107. None
  108.  
  109. Connect
  110.  
  111. Call
  112.  
  113. Pkt
  114.  
  115. Pktintegrity
  116.  
  117. Pktprivacy
  118.  
  119.  
  120.  
  121. LOCALE - Specify the language id the command line should use.
  122.  
  123. USAGE:
  124.  
  125.  
  126.  
  127. /LOCALE:<locale identifier>
  128.  
  129. NOTE: The parameter to the 'LOCALE' switch is of the form MS_XXX.
  130.  
  131. Where XXX for English is 409, XXX for Finnish is 40b.
  132.  
  133.  
  134.  
  135. PRIVILEGES - Enable or disable all privileges.
  136.  
  137. USAGE:
  138.  
  139.  
  140.  
  141. /PRIVILEGES:<option>
  142.  
  143. NOTE: Allowed value(s) for <option> is either ENABLE or DISABLE.
  144.  
  145.  
  146.  
  147. TRACE - Specify whether output debug information is to be copied to stderr
  148.  
  149. during the processing of the request(s).
  150.  
  151. USAGE:
  152.  
  153.  
  154.  
  155. /TRACE:<option>
  156.  
  157. NOTE: Allowed value(s) for <option> is either ON or OFF.
  158.  
  159.  
  160.  
  161. RECORD - Logs all entered commands and WMIC's output to a file in XML format.
  162.  
  163. USAGE:
  164.  
  165.  
  166.  
  167. /RECORD:<filepath>
  168.  
  169.  
  170.  
  171. INTERACTIVE - Sets or resets the interactive mode.
  172.  
  173. USAGE:
  174.  
  175.  
  176.  
  177. /INTERACTIVE:<option>
  178.  
  179. NOTE: Allowed value(s) for <option> is either ON or OFF.
  180.  
  181.  
  182.  
  183. FAILFAST - Sets or resets the FailFast mode.
  184.  
  185. USAGE:
  186.  
  187.  
  188.  
  189. /FAILFAST:<option>
  190.  
  191. NOTE: Allowed value(s) for <option> is either ON or OFF.
  192.  
  193.  
  194.  
  195. OUTPUT - Specifies the mode for output redirection.
  196.  
  197. USAGE:
  198.  
  199.  
  200.  
  201. /OUTPUT:<outputspec>
  202.  
  203. NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
  204.  
  205. STDOUT - Output will be redirected to the STDOUT.
  206.  
  207. CLIPBOARD - Output will be copied on to CLIPBOARD.
  208.  
  209. <filename> - Output will be written to the specified file.
  210.  
  211.  
  212.  
  213. APPEND - Specifies the mode for output redirection.
  214.  
  215. USAGE:
  216.  
  217.  
  218.  
  219. /APPEND:<outputspec>
  220.  
  221. NOTE: <outputspec> ::= (STDOUT | CLIPBOARD | <filename>)
  222.  
  223. STDOUT - Output will be redirected to the STDOUT.
  224.  
  225. CLIPBOARD - Output will be copied on to CLIPBOARD.
  226.  
  227. <filename> - Output will be appended to the specified file.
  228.  
  229.  
  230.  
  231. USER - Provides the user to be used during the session.
  232.  
  233. USAGE:
  234.  
  235.  
  236.  
  237. /USER:<userid>
  238.  
  239. NOTE: User should be provided in the form <domain>\<user>.
  240.  
  241.  
  242.  
  243. AGGREGATE - Determines the mode of displaying results.
  244.  
  245. USAGE:
  246.  
  247.  
  248.  
  249. /AGGREGATE:<option>.
  250.  
  251. NOTE: Allowed value(s) for <option> is either ON or OFF.
  252.  
  253.  
  254.  
  255. PASSWORD - Provides the password to be used in logging on to this session.
  256.  
  257. USAGE:
  258.  
  259.  
  260.  
  261. /PASSWORD:<password>
  262.  
  263.  
  264.  
  265. AUTHORITY - Specifies the <authority type> for the connection.
  266.  
  267. USAGE:
  268.  
  269.  
  270.  
  271. /AUTHORITY:<authority type>
  272.  
  273.  
  274.  
  275. /? - Displays specification/syntax for help commands.
  276.  
  277. USAGE:
  278.  
  279.  
  280.  
  281. /?:[<helptype>]
  282.  
  283. NOTE: Allowed value(s) for <helptype> is either BRIEF or FULL.
  284.  
  285.  
  286.  
  287. NOTE: Enclose the switch value in double quotes, if the value contains special characters like '-' or '/'.
  288.  
  289.  
  290.  
  291.  
  292.  
  293. The following alias/es are available in the current role:
  294.  
  295. ALIAS - Access to the aliases available on the local system
  296.  
  297. BASEBOARD - Base board (also known as a motherboard or system board) management.
  298.  
  299. BIOS - Basic input/output services (BIOS) management.
  300.  
  301. BOOTCONFIG - Boot configuration management.
  302.  
  303. CDROM - CD-ROM management.
  304.  
  305. COMPUTERSYSTEM - Computer system management.
  306.  
  307. CPU - CPU management.
  308.  
  309. CSPRODUCT - Computer system product information from SMBIOS.
  310.  
  311. DATAFILE - DataFile Management.
  312.  
  313. DCOMAPP - DCOM Application management.
  314.  
  315. DESKTOP - User's Desktop management.
  316.  
  317. DESKTOPMONITOR - Desktop Monitor management.
  318.  
  319. DEVICEMEMORYADDRESS - Device memory addresses management.
  320.  
  321. DISKDRIVE - Physical disk drive management.
  322.  
  323. DISKQUOTA - Disk space usage for NTFS volumes.
  324.  
  325. DMACHANNEL - Direct memory access (DMA) channel management.
  326.  
  327. ENVIRONMENT - System environment settings management.
  328.  
  329. FSDIR - Filesystem directory entry management.
  330.  
  331. GROUP - Group account management.
  332.  
  333. IDECONTROLLER - IDE Controller management.
  334.  
  335. IRQ - Interrupt request line (IRQ) management.
  336.  
  337. JOB - Provides access to the jobs scheduled using the schedule service.
  338.  
  339. LOADORDER - Management of system services that define execution dependencies.
  340.  
  341. LOGICALDISK - Local storage device management.
  342.  
  343. LOGON - LOGON Sessions.
  344.  
  345. MEMCACHE - Cache memory management.
  346.  
  347. MEMORYCHIP - Memory chip information.
  348.  
  349. MEMPHYSICAL - Computer system's physical memory management.
  350.  
  351. NETCLIENT - Network Client management.
  352.  
  353. NETLOGIN - Network login information (of a particular user) management.
  354.  
  355. NETPROTOCOL - Protocols (and their network characteristics) management.
  356.  
  357. NETUSE - Active network connection management.
  358.  
  359. NIC - Network Interface Controller (NIC) management.
  360.  
  361. NICCONFIG - Network adapter management.
  362.  
  363. NTDOMAIN - NT Domain management.
  364.  
  365. NTEVENT - Entries in the NT Event Log.
  366.  
  367. NTEVENTLOG - NT eventlog file management.
  368.  
  369. ONBOARDDEVICE - Management of common adapter devices built into the motherboard (system board).
  370.  
  371. OS - Installed Operating System/s management.
  372.  
  373. PAGEFILE - Virtual memory file swapping management.
  374.  
  375. PAGEFILESET - Page file settings management.
  376.  
  377. PARTITION - Management of partitioned areas of a physical disk.
  378.  
  379. PORT - I/O port management.
  380.  
  381. PORTCONNECTOR - Physical connection ports management.
  382.  
  383. PRINTER - Printer device management.
  384.  
  385. PRINTERCONFIG - Printer device configuration management.
  386.  
  387. PRINTJOB - Print job management.
  388.  
  389. PROCESS - Process management.
  390.  
  391. PRODUCT - Installation package task management.
  392.  
  393. QFE - Quick Fix Engineering.
  394.  
  395. QUOTASETTING - Setting information for disk quotas on a volume.
  396.  
  397. RDACCOUNT - Remote Desktop connection permission management.
  398.  
  399. RDNIC - Remote Desktop connection management on a specific network adapter.
  400.  
  401. RDPERMISSIONS - Permissions to a specific Remote Desktop connection.
  402.  
  403. RDTOGGLE - Turning Remote Desktop listener on or off remotely.
  404.  
  405. RECOVEROS - Information that will be gathered from memory when the operating system fails.
  406.  
  407. REGISTRY - Computer system registry management.
  408.  
  409. SCSICONTROLLER - SCSI Controller management.
  410.  
  411. SERVER - Server information management.
  412.  
  413. SERVICE - Service application management.
  414.  
  415. SHADOWCOPY - Shadow copy management.
  416.  
  417. SHADOWSTORAGE - Shadow copy storage area management.
  418.  
  419. SHARE - Shared resource management.
  420.  
  421. SOFTWAREELEMENT - Management of the elements of a software product installed on a system.
  422.  
  423. SOFTWAREFEATURE - Management of software product subsets of SoftwareElement.
  424.  
  425. SOUNDDEV - Sound Device management.
  426.  
  427. STARTUP - Management of commands that run automatically when users log onto the computer system.
  428.  
  429. SYSACCOUNT - System account management.
  430.  
  431. SYSDRIVER - Management of the system driver for a base service.
  432.  
  433. SYSTEMENCLOSURE - Physical system enclosure management.
  434.  
  435. SYSTEMSLOT - Management of physical connection points including ports, slots and peripherals, and proprietary connections points.
  436.  
  437. TAPEDRIVE - Tape drive management.
  438.  
  439. TEMPERATURE - Data management of a temperature sensor (electronic thermometer).
  440.  
  441. TIMEZONE - Time zone data management.
  442.  
  443. UPS - Uninterruptible power supply (UPS) management.
  444.  
  445. USERACCOUNT - User account management.
  446.  
  447. VOLTAGE - Voltage sensor (electronic voltmeter) data management.
  448.  
  449. VOLUME - Local storage volume management.
  450.  
  451. VOLUMEQUOTASETTING - Associates the disk quota setting with a specific disk volume.
  452.  
  453. VOLUMEUSERQUOTA - Per user storage volume quota management.
  454.  
  455. WMISET - WMI service operational parameters management.
  456.  
  457.  
  458.  
  459. For more information on a specific alias, type: alias /?
  460.  
  461.  
  462.  
  463. CLASS - Escapes to full WMI schema.
  464.  
  465. PATH - Escapes to full WMI object paths.
  466.  
  467. CONTEXT - Displays the state of all the global switches.
  468.  
  469. QUIT/EXIT - Exits the program.
  470.  
  471.  
  472.  
  473. For more information on CLASS/PATH/CONTEXT, type: (CLASS | PATH | CONTEXT) /?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement