WEBVTT

00:00.450 --> 00:08.600
Now when we've created a website and application pool with app Sim did that exit.

00:08.640 --> 00:17.000
We can do the same operation using power shall power shall is another powerful method of managing ISIS

00:17.310 --> 00:21.640
to create the same website as the previous examples.

00:21.720 --> 00:31.050
We first have to import the web administration module by run an import dash module command you have

00:31.050 --> 00:34.860
to type import module web administration.

00:34.890 --> 00:44.130
After that we have to run the new item command lab to create a Web site by the way if you want to find

00:44.130 --> 00:53.260
out more about power shall and constructing the commands response shell you can refer to my power shell.

00:53.280 --> 01:02.040
Courses where you can find all the details about different power shell topics but for now we will run

01:02.060 --> 01:08.030
the command to these and take a look at this command more closely.

01:08.040 --> 01:12.380
Soon you item will create a new Web site.

01:12.510 --> 01:23.670
As you can see it will create a new item in s b as drive if you run get dash peers drive command.

01:23.850 --> 01:31.350
It will reveal all the drives available for you on your system and ISIS is one of them.

01:31.350 --> 01:39.270
It's the place where ISIS keeps its files like sites application pools SSL bindings.

01:39.270 --> 01:46.350
Actually if you run dear I call on it to reveal the contents of yours dry.

01:46.620 --> 01:48.940
So let's get back to our compound.

01:48.960 --> 01:58.110
We have several parameters here like bindings physical pass application bool and what if parameter binding

01:58.110 --> 02:07.950
parameter contains a hash table with protocol information which is TTP binding information which is

02:07.950 --> 02:10.780
bought 80 for Web site.

02:10.910 --> 02:12.300
One dot com.

02:12.360 --> 02:15.050
The next parameter is physical path.

02:15.060 --> 02:20.490
Here you have to specify the path to the files relating to the website.

02:20.490 --> 02:29.000
One application pool parameter is specified for water application pool you'll be using for that website

02:29.280 --> 02:35.270
and relative parameter will help you to see the result before you run this command.

02:35.270 --> 02:41.340
It will show you the result but not perform the action actually right through on it.

02:41.400 --> 02:48.810
Right now with what if parameter and see what will happen if we run such a command and as you can see

02:49.110 --> 02:57.050
it outputs the information that it will be performing the operation new item on target website 1.

02:57.330 --> 03:02.810
So from this result you can guess that the site will be created successfully.

03:02.820 --> 03:06.250
Now let's run this command without what if parameter.

03:06.360 --> 03:15.150
And after that take a look at updated information in IE as manager to double check that the site was

03:15.150 --> 03:22.230
created and as you can see it is there and you can change that sentence right in there.

03:22.240 --> 03:24.480
I asked manager if you want to.
