Windows POAs shell supports several.
Come on let's that allow you to assign a well to wearable or manipulate variables.
They are said to wearable new wearable get wearable clear wearable and remove wearable.
Let's start with the saturable Come on let the set wearable command letra why it's an alternative to
the assignment operator described earlier to allow you to assign a value or well used to wearable one
uses to allow wearable assignment in a pipeline.
In addition to common parameterless the saturable come on GLADD supports the following parameters.
Name it specifies the name of the wearable.
Be Insaf.
It is a positional parameter in a position of one.
Well you must be specified here.
Include parameter specifies only items upon which the command left will act.
Exclude parameter specifies those items upon which the command letter will not act.
Scope parameter scope were wearable is to be created which can be named scope.
For example global local's or rescript or number relative to the current scope.
Well your parameter specifies the well you're signed to the unwearable description specifies a user
defined description variable option parameter allowed.
Well yours are known originally that constant private all scope for spring matter.
It specifies that every effort be made to set the variable.
What if parameter is a boolean value that specifies that no action should be taken.
But the user should be shown what would have happened if the command left had executive confirmed parameter
as a boolean.
Whether that's pacifies let the user be asked to confirm their intended action before it is carried
out and pass through parameter specifies that the object created are passed to the next step in the
pipeline.
Let's take a look at the following example.
Let's type the following command to assign the well-you of 2 to variable a set variable.
Name a well-known 20th and pipe it to format list live format list statement displays.
Nothin loses because there is no pass through parameter.
If you get a pass through parameter then information about the variable can be displayed using the format
list statement.
So let's roll the following example.
Set variable name.
A valid 20 pass through description Adem a variable and pipe it to format list.
Next up the new verbal command left.
Then your wearable command creates a new variable in addition to common parameter.
The new variable.
C'mon let's support the following parameters.
Name Well your description option for is passed through scope.
What you can confirm parameters are checked in pretty much the same as in set variable command left.
Except here a parameter.
Well you use a positional parameter in position to and new verbal command LET does not take include
and exclude parameters unlike the saturable command left which supports those parameters.
So let's take a look at the following example the following command creates a new variable.
My new variable but does not assign a value to it.
Since the past through parameter is present the format list statement allows you to see that the variable
exists but has no well your set.
The command looks like this new variable name new.
My new variable pass through.
Pipe it to ferment format list some verse about GET variable command come.
Let get a variable command let allows you to retrieve a Venter's partial variable to get a variable
command.
Let's support the following parameters.
In addition to the common parameters name specifies the name of the variable accepts wildcard characters.
Well you're only a boolean value if present then only the value of the variable is passed to all the
pipeline.
Include parameter if present specifies which variables to include qualifiers well of the name parameter
and exclude parameter if present specifies which wearables to exclude qualifies the value of the name
perimeter and scope parameter it specifies the scope of the variable.
Let's take a look at the following example which is showing the creation of four variables variable
a while two is three and a four legged variable.
Command line is used to retrieve and display information about the variables a VOM a 2 and a 4.
So first let's stop these commands to create the wearables variable avionic will stand a to twenty three
thirty and a four for two.
Now let's Taieb this command to retrieve the previously mentioned variables get variable dush name a
star does include a and one to four in square brackets and pipe it to for my list.
If you run this command the information on the three desired variables will be display there well you're
over there.
Include parameter is a regular expression part or the character class 1 to 4 in square brackets matches
a single character which is contained in the class.
That's the variables A want a 2 and a for match but a 3 does not match since 3 isn't contained in the
character class.
Notice that the variables are not by default ordered by name.
If you wanted to sort them by name you would need to add a pipeline stamp using the sort object command
left.
So let's type the following command.
Get variable name a asterisk.
This include a one to four in square brackets and pipe it to sort object name and pipe it to form at
least more you'll get the output sorted by name.
The clear verbal command left it clears the way olio of one or more variables.
In addition to common parameters the clear variable C'mon let's support the following parameters.
Name include exclude for this scope Wotif conform.
Let's take a look at the following example which demonstrates clear in the wealth of specified variables
will clear the values of the variable a while a two ways three and a four.
Created in the preceding example.
First show that the four variables exist and have a value set.
Using this command get a variable name a asterisk in does include a and one two three four square brackets
and pipe it to form at least certain certain by name and well you can see that they are existent.
Next let's clear the value of three of those variables.
Using this command the value of variable.
3 is not clear.
So let's type clear wearable Desch name a asterisk.
This include a 1 to 4 in square brackets.
Now let's check to see that the values of those variables have been clear to you that the command get
a variable name.
Asterisk include a 1 2 3 4 in square brackets and to form format list format and by name and well as
you can see the value of each of the three variables has been cleared.
Now some votes about remove variable command left as it comes from the name.
It removes one or more existing variables.
It supports the foreign parameters in addition to the common parameter name.
Include exclude force scope whatever and conform.
Let's take a look at some examples and therefore following example will delete the variable a while
made 2 and 3.
If you are unsure of the effort of using a remove variable command you can use the Wattie of parameter
as in the pursuit.
An example will use for variables a one a two is three and a four to explore removing the three desired
variables with the protection of their What-If perimeter.
You can type the following command to remove variable name.
Include a one two three in square brackets and mention what parameter and you'll see that there are
three variables there would have been removed if there were remoter hadn't been used since.
Lose the variables you want to dilute remove the What-If Barometer from the command and press center.
Now if you type get variable Desch name a asterisk does include a one to four in square brackets.
You can confirm that only a four exists.