7.1 Introduction to Windows Flashcards
While many IT professionals prefer Mac OS and Linux, _________ is still the leader for desktop operating systems.
While many IT professionals prefer Mac OS and Linux, Windows is still the leader for desktop operating systems.
_________ is one of the most important Windows tools for troubleshooting resource usage.
Task Manager is one of the most important Windows tools for troubleshooting resource usage.
True or False Command Prompt uses / like Linux
False
False Command Prompt uses ****
Linux variables are designated with a ___, while Windows ENV variables are enclosed with ___ signs.
Linux variables are designated with a $, while Windows ENV variables are enclosed with % signs.
_____________ is a tool used to query system information and diagnostics, such as OS and hard disk info.
Windows Management Instrumentation Command (wmic) is a tool used to query system information and diagnostics, such as OS and hard disk info.
wmic Structure and Conventions
Explain [global switches]
[global switches] are global commands called on by wmic. For example: wmic /APPEND:report.txt os get caption will append the Windows build number to report.txt file. This will add the output content to the file and not overwrite the file.
wmic Structure and Conventions
Explain [alias]
[alias] is the Windows component that wmic queries. Common aliases include: os (operating system): Contains properties specific to the operating system, such as the Windows edition name and build number. Logicaldisk: Contains properties specific to the disk drives, such as drive name, filesystem, free space, size, and volume serial number.
wmic Structure and Conventions
Explain [verbs]
[verbs] are actions we want to complete with the wmic command. For example, if we are using wmic os to find operating system information, we can then use the get verb, followed by the various [properties] we want to find.
wmic Structure and Conventions
Explain [properties]
Common [properties] to retrieve using get: get caption: Returns a one-line description of the given alias. get /value: Gets all of the properties and values of an alias and lists each on separate line.
Explain what this command will do:
wmic /APPEND:report.txt os get caption
It will append the Windows build number to report.txt
file. This will add the output content to the file, and **not** overwrite the file.
What does this command do: wmic /APPEND:report.txt useraccount get name, sid, description
Finds all user’s last login information, and all user info, SID, important directories, and files.
How would you list all the different values that can be retrieved from the os
wmic
alias.
wmic os get /value
Use net user
to:
Add, remove and manage users
Use net localgroup
to:
Add, remove and manage groups
Use net accounts
to:
View password and logon requirments for users to enforce password security policies