WMI Command-line Tool
WMI Command-line Tool
The WMI Command-line (WMIC) tool provides a simple command-line interface to WMI. This allows you to use WMI to manage computers running Microsoft Windows. You can use WMIC from any computer running Windows XP Professional or an operating system in the Windows Server 2003 family to remotely manage any computer with WMI installed.
How Start WMIC in interactive mode
Start -> Run -> Type WMIC and click OK
Example:
Typing /? in the WMIC console will give you the same on-screen help you would get after typing:
wmic:root\cli> /?
wmic:root\cli> process /?
wmic:root\cli> /namespace:\\root\SMS\site_MSO
wmic:root\cli> PATH SMS_Collection
wmic:root\cli> PATH SMS_R_System.LastLogonUserName='PTHOMSEN'
wmic:root\cli> /namespace:\\root\cimv2
Example BIOS
WMIC BIOS
WMIC BIOS Get Manufacturer
WMIC BIOS Get Manufacturer,Name,Version /Format:csv
WMIC BIOS Get Manufacturer,Name,Version /Format:list
WMIC BIOS Get /Format:list
WMIC BIOS Get Manufacturer,Name,Version /Format:htable
How save this output to HTML file:
WMIC /Output:bios.html BIOS Get Manufacturer,Name,Version /Format:htable
START "" "%CD%.\bios.html"
Network adapter - WMI queries return too much information.
WMIC Path Win32_NetworkAdapter Get
WMI Code Creator v1.0
The WMI Code Creator tool allows you to generate VBScript, C#, and VB .NET code that uses WMI to complete a management task such as querying for management data, executing a method from a WMI class, or receiving event notifications using WMI.
https://www.microsoft.com/en-us/download/details.aspx?id=8572
Linear Tape-Open raw data capacity
Linear Tape-Open (LTO-x) raw data capacity
How to Add Programs, Files to System Startup in Windows
How to Add Programs, Files to System Startup in Windows
You may want to add an app, a document or a folder to startup in Windows 10 so they automatically launch or open when the PC boots.
Open the “Run” dialog box by pressing the Windows key + R, type “shell:startup” (without the quotes) in the “Open” edit box and click “OK.”
In the right pane of the Windows Explorer window, right-click on the empty space and select “Paste” from the popup menu.
To place an app, URL or document to startup you should place its shortcut to user startup folder. By default it is located in:
C:\Users\Username\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
How to add an app to startup for all users
If you wish the program to run at startup in all users accounts place a shortcut in common startup folder. In Windows 10 its default location is:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
1. Win+R
2. Type
shell:Common Startup