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