Command:
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
Description:
Retrieves the operating system's name and version by filtering the output of the systeminfo command.
Output:
Displays the OS name and version, allowing for quick identification of the running system.
Command:
Description:
Queries the system for installed Quick Fix Engineering (QFE) updates, showing details about each installed update.
Output:
A list of installed updates, including update IDs, descriptions, and installation dates.
Command:
wmic os get osarchitecture
Description:
Retrieves the operating system's architecture (e.g., 32-bit or 64-bit).
Output:
Displays the OS architecture, which is essential for software compatibility.
2. Environment Variables
2.1 List Environment Variables
Commands:
Or, using PowerShell:
Description:
Both commands display the current environment variables set on the system.
Output:
Shows variable names and their values, providing insight into system configurations and environment settings.
3.1 List Logical Drives
Command:
Description:
Lists the logical drives available on the system.
Output:
Displays the drive letters (e.g., C:, D:) of all logical disks.
Command:
Description:
Provides detailed descriptions of each logical drive, including:
Caption: Drive letter (e.g., C:)
Description: Drive type (e.g., Local Disk)
Provider Name: Network provider details (if applicable)
Output:
Displays comprehensive information about the drives.
3.3 Using PowerShell to List Drives
Command:
Description:
Retrieves all drives available in PowerShell, filtering for filesystem drives, and formats the output as a table.
Output:
Displays a structured table of drive keys and their corresponding paths.