Windows PowerShell Hands-On Training for Beginners - Manage Windows Services - Advanced Options

Windows PowerShell Hands-On Training for Beginners - Manage Windows Services - Advanced Options

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

This video tutorial covers the use of PowerShell cmdlets to manage Windows services. It explains how to stop, start, and restart services, and discusses the limitations of the restart service cmdlet. The tutorial also demonstrates how to change the startup type and user account of a service using the set service cmdlet, highlighting differences between PowerShell versions. The video concludes with an assignment to reinforce learning.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which PowerShell cmdlet is used to fetch services by name or wildcard?

List-Service

Retrieve-Service

Fetch-Service

Get-Service

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What must you ensure before stopping a service using PowerShell?

PowerShell is running as administrator

The service is set to manual start

PowerShell is running in safe mode

The service is not in use

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a potential issue with using the 'restart service' cmdlet?

It may require a system reboot

It may not stop the service

It may not start the service

It may not behave correctly

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you change the startup type of a service to manual?

Use the 'modify-service' cmdlet

Use the 'change-service' cmdlet

Use the 'update-service' cmdlet

Use the 'set-service' cmdlet

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which PowerShell version is required to change the service user account using 'set-service'?

PowerShell 5

PowerShell 6

PowerShell 8

PowerShell 7

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What alternative methods can be used in PowerShell 5 to change the service user account?

Using CMD and WMI

Using SC EXE and WMI

Using SC EXE and CMD

Using WMI and CMD

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default startup type for services that start automatically on system reboot?

Manual

Automatic

Disabled

Delayed