This video you'll find the answers for their last two tasks for these tasks you may run individual amounts
and get members to see what kind of objects the commands produce.
You may also be their help for any of these commands.
However do not run local commands shown.
If you do run the whole command it may produce an error.
The error does not mean the command is written incorrectly.
So the answers for step 1 is that this command is intended to list the services that are running on
every computer and domain.
Will the mentioned command achieve the goal.
The answer is No.
Good service does not accept a computer object from the pipeline.
Step two was to answer.
Again if the command achieved the goal.
The answer is yes.
The computer parameter accepts pipeline input by use and by propert to name.
Step 3 was that to answer if the command which was intended to Querrey the an object from every computer
in the domain.
Achieve the goal.
The answer was so the answer is the computer's name parameter of get WMI object does not accept pipeline
input.
So the answer is no there answer for Step 4 is also no pipeline input of the types 3 relate to the name
parameter of good service by use and by well you the computer name parameter does not accept pipeline
input by use and by well you the answer for Step 5 is yes.
Get content producers objects of the type stream and the get.
Sorry and the computer name parameter can except those objects.
The answer for Step 6 was no.
The computer's name perimeter cannot accept objects of the type the computer and the final step step
7.
The answer is yes.
The barycentre Tcl command produces subjects of the type screen that are computer names.
Those are accepted by the computer name parameter.
Now let's move one to task 2.
Step 1 for the task 2 was to write a command display and the most recent 50 system event log cantrips
from which computer in that domain because Get event log does not accept pipeline input for its computer
name parameter.
You have to write this command got to unplug the log name system the nearest 50 that's computer name
in parenthesis get computer get a computer filter all and pipe it to select object with.
Expand property parameter.
The answer for step 2.
Here you had two.
You had a text file that is named names.
The text that contains one computer name per line.
You get to write a command that uses restart computer to restart each computer that is listed in the
file and you have not to use a percent kill command.
Here is the answer because the computer name perimeter of restart computer accepts pipeline input by
using by while your own command will achieve the goal.
Get content names that text and pipe it to restart computer.
The answer for Step 3.
The computer name parameter of test connection except pipeline input only by use and by proper to name
the objects produced by get confirmed do not have a property named computer name nor do they have an
existing property that can be renamed to computer name.
Therefore you must use a receptacle command.
You can type just connection Desch computer name and in parentheses get content names dirty XTi and
answer for Step 4.
Because the computer name perimeter of set service accepts pipeline input by use and by proper name
you can write the following command.
Got a computer does filter asterisk and pipe it to select object with the modified property and by the
two sets service Desch name.
When a RAM does start up type auto You must use select object because let Adey computer objects have
a name property not a computer name property.