[go: up one dir, main page]

0% found this document useful (0 votes)
74 views1 page

Iis Installation On Powershell

This document provides instructions for installing and removing IIS on Windows using PowerShell commands. To install IIS, the steps are to change directories to the root, check for existing features, find web services, install IIS and management tools using Install-WindowsFeature, install management consoles, start IIS manager, import webadministration module, and get help on web commands. To remove IIS, the steps are to remove the web-server feature and restart the computer.

Uploaded by

JDPrasadJdp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views1 page

Iis Installation On Powershell

This document provides instructions for installing and removing IIS on Windows using PowerShell commands. To install IIS, the steps are to change directories to the root, check for existing features, find web services, install IIS and management tools using Install-WindowsFeature, install management consoles, start IIS manager, import webadministration module, and get help on web commands. To remove IIS, the steps are to remove the web-server feature and restart the computer.

Uploaded by

JDPrasadJdp
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

IIS INSTALLATION ON POWERSHELL

1.) Cd\ it will go to the main directory


2.) Get-windowsfeature ---- it will show all features In the system
3.) Get-windosfeature name *web*
------------- it will show all web services
in server
4.) Install-windowsfeature name web-server includemanagementtools ------ it
will install iis and management tools also
5.) Install-windowsfeature web-mgmt-console -------------- it install management
consoles in iis
6.) Start inetmgr ----it will open the iis
7.) Get-module list available
8.) Import-module name webadministation
9.) Get-help *web*
10.)

REMOVING IIS USING WITH POWERSHELL COMMANDS


1.) Remove-windowsfeature name web-server
2.) Restart-computer

You might also like