Module 2

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

False

In the following example, three loops will be executed. $args = "one","two","three","four"foreach ($i in $args) {write $i -foregroundcolor magenta}

False

PowerShell console files use the .ps1 extension.

True

The Tab key can be used to auto complete a PowerShell cmdlet as you are typing it.

True

The Test-NetConnection cmdlet can be used to test network connectivity to a target computer.

True

The Windows Admin Center allows you to obtain a Windows PowerShell session within your Web browser.

True

Server Manager can be used to monitor and manage other Windows Server 2008 and later systems.

True

System environment variables apply to any user logged onto the system.

False

The Sigverif tool can be used to verify and repair corrupt system files.

d. Create a paging file on the second and third physical storage devices and remove the page file from the first storage device

Your system has three physical storage devices. Windows Server 2019 is installed on the first physical storage device. What can you do to increase the performance of the system as much as possible?

True

Some software issues require that you modify the value of an entry within the Windows Registry to fix a system problem.

a. help Get-WMIObject b. Get-Help Get-WMIObject c. get-help Get-WMIObject d. Get-Help Get-WMIObject -online

What command could you execute within PowerShell to learn about the syntax of the Get-WMIObject cmdlet? (Choose all that apply.)

b. Right-click the Unknown device within Device Manager and choose Update driver. Supply the manufacturer-provided driver files if prompted.

What should be your first course of action when you see a device marked Unknown within Device Manager?

switch

Which of the following PowerShell constructs is best to use when you wish to perform a specific action based on the value of a single variable?

sl

Which of the following aliases can be used to switch to a different PowerShell provider?

Performance Events Roles and Features Services

Which of the following are panes that you will see listed for a server, server group, or server role within Server Manager? (Choose all that apply.)

C:\Scripts\superscript.ps1 .\superscript.ps1 ./superscript.ps1

Which of the following are valid methods for executing the superscript.ps1 file within PowerShell, assuming it is in your current directory, C:\Scripts? (Choose all that apply.)

a. Enter-PSSession computername

Which of the following can be used to open a new Windows PowerShell prompt that is connected to a remote computer (provided that winRM is enabled)?

All

Which of the following features can be configured within Control Panel? (Choose all that apply.)

System Insights

Which of the following tools within the navigation pane of the Windows Admin Center can be used to perform capacity planning?

Devices and Printers utility

Which of the following utilities can be used to manually install a new device that is not fully PnP-compliant?


Ensembles d'études connexes

nervous system practice questions

View Set

Physical properties lesson 2 8th grade outline

View Set

Science - 3rd grade - Chapter 4 Lesson 3 What is a machine?

View Set

Population Health Exam 2 Objectives- Alycia

View Set

Life Insurance Certification exam

View Set

HESI comprehension practice test

View Set

Construction of Wills (Death of Beneficiary before Death of Testator - Lapse, Anti-Lapse, Void Gifts, Ademption)

View Set

Ten Kings of Hell and Ksitigarbha (Earth Matrix) in China

View Set