Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Lab 11 PowerShell, Please answer all the questions. Thank you!' For this lab, you need a Windows 8 or Windows Server 2012, or later, computer
Lab 11 PowerShell, Please answer all the questions. Thank you!'
For this lab, you need a Windows 8 or Windows Server 2012, or later, computer running PowerShell v3 or later. Remember that Where-0bject isn't the only way to filter, and it isn't even the one you should turn to first. We've kept this chapter if your cache comes up empty, try visiting a brief to allow you more time to work on the few pages first to force some items into hands-on examples, so keeping in mind the the cache. principle of filter left, try to accomplish the following: 3. Display all EXE files under C:IWindows \System32 that are larger than 5MB. 1. Import the NetAdapter module (available in the latest version of Windows, 4. Display a list of hotfixes that are security both client and server). Using the Get- updates. NetAdapter cmdlet, display a list of nonvirtual network adapters (adapters 5. Display a list of hotfixes that were whose Virtual property is False, which installed by the Administrator, and which PowerShell represents with the special are updates. If you don't have any, try \$False constant). finding hotfixes installed by the System account. Note that some hotfixes won't 2. Import the Dnsclient module (available have an "installed by" value-that's OK. in the latest version of Windows, both client and server). Using the Get6. Display a list of all processes running DnsClientCache cmdlet, display a list of with either the name Conhost or the name A and AAAA records from the cache. Hint: Svchost. Practice makes perfect, so try filtering some of the output from the cmdlets you've already learned about, such as Get-Hotfix, GetEventLog, Get-Process, Get-Service, and even Get-Command. For example, you might try to filter the output of GetCommand to show only cmdlets. Or use Test Connection to ping several computers, and show the results only from computers that didn't respond. We're not suggesting that you need to use Where-object in every case, but you should practice using it when it's appropriateStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started