Welcome to lab to slap you'll be creating and troubleshot and windows Polish shell commands.
You have to predict and control how shell will pass data from one command to another so that commands
run correctly.
After completing this lab you'll be able to predict the behavior of commands in the pipeline and write
commands that comply with specified pipelined behavior.
You have to review several Indos power shell commands and determine whether they will work.
Some commands.
Use pipeline input but other commands dinner without running commands in their entirety.
You have to decide whether they will achieve the stated goal.
You also have to write several windows partial commands that will achieve stated goals.
You must not run these commands in the shell.
Instead write them on paper.
The main tasks for this exercise is as follows.
The first task review existing commands for these tasks.
You may run individual commands and get mamber command to see what kinds of objects the command sperate
use.
You may also view the help for any of these commands.
However do not run the whole command shown.
If you do rollick whole commanded it may produce an error.
The error does not mean the command is written incorrectly.
So Step 1 this commands command.
Sorry is intended to list the services that are running on every computer in the domain.
Here is the command get a computer does filter asterisk.
Why get so with real the command to achieve the goal.
Step 2 in this task.
This command is intended to list the services that are on and on every computer and domain.
Here is a command.
Getting the computer does filter all pipe it to select modified proper to include braces and pipe it
to get service.
Will the command to achieve the goal.
Next up step 3.
This comment is intended to query an object from every computer in the domain.
Here is the command get a computer just filter all by it to select modified property with computer name
in curly braces and pipe it to get an object.
Does class re-inserted Danders underscore bias.
Will the command to achieve the goal.
Are the file names that takes the least one computer name per line.
This command is intended to list the services that are running on every computer that is listed in names
don't text to get content names dot texting and Pypard to get service command.
Will the command to achieve the goal.
Step for their file names don't take still lists one computer name per line.
This command is intended to list the services that are running on every computer that is listed in the
names.
Don't text me.
Here is the command get service desk computer name.
Parenthesis get content command names that takes the wheel the command to achieve the goal.
Step 5 This command is intended to list the services that are running on every computer in the domain.
Get service Desch computer name and in parenthesis get computer dust filter asterisk read the command
to achieve the goal and the final step in this step.
This command is intended to list the security around lock countries from every computer in the domain.
Here is the command get event log does log name security there's computer name and in parenthesis the
following commands.
Get a computer the filter asterisks and select There should expand.
Name Will the command to achieve the goal.
These are the steps for the task one task to for that lab is to write new commands that perform specified
tasks in each of these tasks.
Your task to write a command that achieves the specified goal do not run these commands.
Write them on paper.
You may run individual commands and pieds their output to get mamber to see what objects those commands
produce.
You may also read their help for any command.
So let's move to this.
Step one of this task to write a command that users get event log to display the most recent to system
event log entries from which computer littermate.
Step two for that task you have a text file that is named names that XTi that contains one computer
Remember line.
Write a command that uses restart computer to restart each computer that is listed in the file.
Do not use a central command.
Step three you can file that is named names.
The text that contains one computer name or line write a command that uses test their connection to
test the connectivity to each computer that it that is listed in the file.
And step four for that task write a command that uses set surahs command to set the start type of the
V in our room service to auto on every computer in the domain.
Do not use a receptacle command.
As always you can find the answers for this lap in the next video but try to solve all these tasks by
yourself because practice make it perfect.