Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Powershell - Create Sites in IIS 7 - Site / App Pools Credentials

$
0
0
New-Website -Name testsite -ApplicationPool testsite -HostHeader testsite1.test -Id 3 -IPAddress 123.123.123.123 -PhysicalPath C:\Website_Root\WebSite -Port 80

Hi Guys/ Girls, 

I have added the basic site creation for Powershell above. 

I just need to know how i can add the credentials for Username and Password when clicking on Connect As using the UI. 

Also need to know how i can create multiple sites but i can't figure out "$" cmdlet for multiple app pools and setting credentials for a new app pool

Thank you in advance


Viewing all articles
Browse latest Browse all 21975

Latest Images

Trending Articles


Pregnant woman released on bail


Waves Complete v2019.02.14 Incl Emulator-R2R


It’s Kind of a Funny Story 2010 Dual Audio 720p BRRip [Hindi – English] ESubs


CalCen


Serial child killer David Threinen’s reign of terror


Pumped up UDA chief ordered teen to be shot


MCGEE, SAMUEL O., DECEASED, OF...


Alison Moyet - Alf (Deluxe Edition) (2016) flac


Shawn Ogrodnik


WordPress: Reverse Shell



Latest Images