Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Triage Analysis and Response Using WMIC and PowerShell Making sure your IP , Mask, and gateway are already on the Windows 1 0 VM note

Triage Analysis and Response Using WMIC and PowerShell
Making sure your IP, Mask, and gateway are already on the Windows10 VM note page. Using
this DNS number (172.28.102.11)
- Setup your Win10 VM network as follows and answer the questions as you go:
From the search bar, type View Network Connection and click on it:
Right Click on the Ethernet0 and choose properties:
Step1: start PowerShell- in the search bar, type PowerShell, right click, and run it as admin, click yes
Part1: PowerShell
Q1(2p): Display and list all aliases. :
Q2(3p): Display and list only inbound Windows Firewall rules. You can use the same cmdlet, but
youll need to read its help to discover the necessary parameter and its allowable values. Include
your screenshot here (one page is enough): (Hint: Get-NetFirewallRule -Direction Inbound)
Q3(4p): Create a new directory called C:\mcyLab2-1 and inside this directory create a file with
the name mytest1.txt .(Hint: New-Item)
Q4(8p): Display and list all of the 25 newest entries from the Security event log (you can use a different
log, such as System or Application, if your Security log is empty).
Sort the list with the oldest entries appearing first, and with entries made at the same time
sorted by their index.
Display the index, time, and source for each entry.
Put this information into a text file (a plain-text file).
You may be tempted to use Select-Object and its -first or -last parameters to achieve this; dont.
Theres a better way.
Also, avoid using Get-WinEvent, cmdlet is available for this particular task.
Q5(3p): Display and list a six-column-wide list of all directories in the root of the C: drive.
Q6(6p): Display and list all dll files under C:\Windows\System32 that are larger than 9 MB. Include your
Q7(10p): Make a one-to-one connection with a remote computer (or with localhost if you have
only one computer). Launch Notepad.exe. What happens?
Q8(8p): Using Invoke-Command, retrieve a list of services that arent started from one or two
remote computers (its OK to use localhost twice if you have only one computer). Format the
results as a wide list.
Part2: Accessing WMI/MI/CIM with PowerShell
Q1(5p): Using CIM cmdlets, create a table that shows a computer name, operating system build
number, operating system description (caption), and BIOS serial number.
Q2(5p): Query a list of hotfixes using cmdlet. (Microsoft formally refers to these as quick-fix
engineering.) Is the list different from that returned by the WMI?
Q3(5p): Create a CSV file that contains all services, including only the service name and status.
Have running services listed before stopped services.
Q4(3p): list of all executable files *.exe on your computer. Start in the C:\ folder.
Q5(3p): Run a command that will display the users folder permissions on C:\users.

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

Databases Illuminated

Authors: Catherine M. Ricardo

1st Edition

0763733148, 978-0763733148

More Books

Students also viewed these Databases questions

Question

List the activities involved in employer-designed HRD programs

Answered: 1 week ago