Now when we've created a website and application pool with app Sim did that exit.
We can do the same operation using power shall power shall is another powerful method of managing ISIS
to create the same website as the previous examples.
We first have to import the web administration module by run an import dash module command you have
to type import module web administration.
After that we have to run the new item command lab to create a Web site by the way if you want to find
out more about power shall and constructing the commands response shell you can refer to my power shell.
Courses where you can find all the details about different power shell topics but for now we will run
the command to these and take a look at this command more closely.
Soon you item will create a new Web site.
As you can see it will create a new item in s b as drive if you run get dash peers drive command.
It will reveal all the drives available for you on your system and ISIS is one of them.
It's the place where ISIS keeps its files like sites application pools SSL bindings.
Actually if you run dear I call on it to reveal the contents of yours dry.
So let's get back to our compound.
We have several parameters here like bindings physical pass application bool and what if parameter binding
parameter contains a hash table with protocol information which is TTP binding information which is
bought 80 for Web site.
One dot com.
The next parameter is physical path.
Here you have to specify the path to the files relating to the website.
One application pool parameter is specified for water application pool you'll be using for that website
and relative parameter will help you to see the result before you run this command.
It will show you the result but not perform the action actually right through on it.
Right now with what if parameter and see what will happen if we run such a command and as you can see
it outputs the information that it will be performing the operation new item on target website 1.
So from this result you can guess that the site will be created successfully.
Now let's run this command without what if parameter.
And after that take a look at updated information in IE as manager to double check that the site was
created and as you can see it is there and you can change that sentence right in there.
I asked manager if you want to.