As you remember we can connect to a server with the help of power shell with entropy assertion command.
So let's add the IP address of our nano server to the variable which I'll name nano so I'll type doula
aside.
Nano equals and the IP address of my nano server and I'll type it in double quotes so I'll type 1 7
2 2 dot sixteen dot 0 dot 1 6 2 1 in double quotes
no I'll type and or be a session.
Come on let with computer name parameter followed by nano variable then followed by credential parameter
and I have to specify again my variable nano backslash administrator I'll type in my password administrator
as password for this nano server now after getting connected to nano server we have to check the default
listed Web site in I guess
but first we have to import the I.S. module with power shall command so I'll type import module I as
administration and then I can check all the commands which are included in this module I can type get
command this module ISIS administration and their output will be all the commands for i s administration
with the help of power shall know I can type get I aside
and I'll get websites listed site my nano I ISIS instance you can see in the figures that I only have
one default website which is default website which has state as started and a physical path which is
system drive I cannot pop through call w route and the binding is h to to be bought 80 for an IP available
on Channel server
you can stop and start the website with the power shall commence like stop I a site this name and in
double codes default website.
So let me type stop I a site this name double quotes open in default Web site double quotes clothing
no I can press up arrow and change stop for start respectively
now let's create a separate Web site director recalled Nanos site.
This directory will be created inside C drive.
I met Bob through Paul W. root folder for this will open file explorer on your host server and type
the IP address of your name and server.
In my case it's 172 16 dot 161 followed by backslash C $ character in the address bar.
This is nothing but the Nano server IP address and the C drives hidden default share which is C $ character
dollar sign and you'll get the Nano Sarah a C drive and can create a folder called Nano server so let's
right click Create a new folder and go and name it.
Nano side if you are a face and problems accessing the C drive of nano sir you should check the firewall
file and print share settings on nano sir.
And again you can use power shall command to create a folder inside C drive find it da through pull
double your route on your nano server
so to do this just again entropy assertion.
Type in password and type M.D. and double quotes C colon backslash iiNet pap Bob backslash 3 pull double
your root backslash mono side goes double quote as you can see the scientists created and we can always
check it with allows command or direct command which are the aliases for Girl Child item native command
lab so lets type unless C colon backslash ion Bob backslash triple double your route and will get the
contents of the requested folder as you can see we've got directories Nanos site which was just created
as you can notice in mode call on we've got D letter which is mean and directory now we are going to
create a website called Nano site dot com I'll type new a site dish name nano site dot com dish
by and an information in double quotes asterisk column 88 we call on closed double quotes
and physical pass parameter followed by C drive iiNet pop triple double your route Nanos site learning
no site dot com website will be created and we can check whether the website created or not reads get
a side.
Come on let's so let's type get a side.
Once you run this command you'll get all the listed websites available in the eyes or.
Now we have two websites created in our eyes so for instance default Web site and nano site dot com
has a quick recap we've imported the IRS administration module and created a separate nano folder inside
ion and pop through Paul your root folder we've also created a website with power shall command and
checked the listed websites detail reused power shall command such as entropy assertion import module
I s administration make directories we've used a less command to list the contents of this side of the
folders sorry and we've used new ideas site command led for creating a website with power shall.