Skip to content

Instantly share code, notes, and snippets.

View alex-jitbit's full-sized avatar
🤙

Alexander Yumashev alex-jitbit

🤙
View GitHub Profile
# Setup
Import-Module WebAdministration
# create 2 site root directories
$a = 'C:\inetpub\AspNetCoreSampleA'
$b = 'C:\inetpub\AspNetCoreSampleB'
$siteRoot = 'C:\inetpub\aspnetcoresample'
$siteName = 'AspNetCoreSample'
$poolName = "aspnetcore"
New-Item -Type Directory $a
New-Item -Type Directory $b