Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using one command, append the following wmic query to your report.txt file as one output: Windows edition Build number Note: You can run wmic [

Using one command, append the following wmic query to your report.txt file as one output:
Windows edition
Build number
Note: You can run wmic [alias] get /value to see the different properties and values that can be retrieved from an alias. For example: wmic os get /value
Create a wmic query for each of the following aliases and append them to the report:
User account information (useraccount): Name, the security identifier of the user (sid), and description.
Note: The security ID (sid) of each user account is used to identify the groups the user belongs in, set access control entries, and bind security descriptors to each user.
Login information (netlogin): Username (caption), number of times user has logged on, and last logon time.
Note: The LastLogon format follows the yyyy/MM/DD-HH:mm:ss.SSSSSSZ date and time format.
.SSSSSSZ are the milliseconds (000000 in the output) and time zone (-300 in the output).
This part of the output follows the SimpleDateFormat protocol for date and time.
Windows Update information (qfe): Update name (caption), description, installed on date, and hotfix ID.
Note: Make sure you verify each output before using the /APPEND: switch appending it to your report.txt file.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

AutoCAD Database Connectivity

Authors: Scott McFarlane

1st Edition

0766816400, 978-0766816404

More Books

Students also viewed these Databases questions

Question

Types of Interpersonal Relationships?

Answered: 1 week ago

Question

Self-Disclosure and Interpersonal Relationships?

Answered: 1 week ago