Complete the code to get the status of the service named 'wuauserv'.
Get-Service -Name [1]The Get-Service cmdlet with -Name wuauserv retrieves the Windows Update service status.
Complete the code to start the service named 'bits'.
Start-Service -Name [1]Get-Service instead of Start-Service.The Start-Service cmdlet with -Name bits starts the Background Intelligent Transfer Service.
Fix the error in the code to stop the 'spooler' service.
Stop-Service [1]-Name parameter.-Service or -ServiceName.The Stop-Service cmdlet requires the -Name parameter to specify the service name.
Fill both blanks to get the status of the 'eventlog' service and display only its status property.
Get-Service [1] | Select-Object [2]
Get-Service -Name eventlog fetches the service, and Select-Object Status shows only the status.
Fill all three blanks to stop the 'wuauserv' service and then get its status.
Stop-Service [1]; Get-Service [2] | Select-Object [3]
First, Stop-Service -Name wuauserv stops the service. Then, Get-Service -Name wuauserv | Select-Object Status shows its status.