And this video I'll show the answers for their lap exercises in exercise one and first task you had
to test the command.
So you have to run the following command to ensure that the local execution policy is correct.
You have to time set execution policy.
Or remote site.
Answer yes to change the execution policy and then try to run the needed command which was proposed
in the lap file in exercise too you have to parameterize change an alias and identify to well is in
command which you've proposed that might have to change every time someone runs a command.
So as you might guess the filter parameter controls which kinds of logical disks are returned by the
command local fixed drives are represented by the drive.
Topic well.
Three Well this could be changed to examine removable drives and to the computer name parameter which
specifies the computer on which you want to run.
So immigration controls the default.
Well is local host and this well could be changed to examine a different computer.
After that you had to create and use create from the commands you've proposed for this you had to open
a new file based like command itself.
Click Save As to save the file as get Diskin for that one.
Then you had to add a parameter block to this group.
So for these at the top of the file you had to type the following information.
Come on let bind in parameter perimeter mandatory then string variable was a name computer name and
integer variable which will contain drive type.
Then you had to add parameters to use parameters in that command.
So after change in and add in parameter in the previous step you could run the command in the script
itself when running the script.
So when running the script you could use drive type variable and computer name wearable in exercise
3 you had to add verbose output.
So for this you could type right.
We're both get and drive types of drive type variable from computer name variable.
The next step was to test this cryptogram by using computer wearable and drive type wearable and you
could also use verbose parameter.
And in that exercise for you had to add Calment base help for this you had to at least had her in there
at the top or with the script with Cynapsus description parameter and other parameter and two example
lines.