Update nano-server.md (#4171)

Following items edited:
Reset-IISServerManager -confirm:$false
$sm = Get-IISServerManager
pull/4174/head
babakramak 2017-09-01 18:44:28 +04:30 committed by Scott Addie
parent b96c1e2877
commit a2fad7f70f
1 changed files with 2 additions and 1 deletions

View File

@ -129,7 +129,8 @@ Import-Module IISAdministration
# Initialize variables
$aspNetCoreHandlerFilePath="C:\windows\system32\inetsrv\aspnetcore.dll"
Reset-IISServerManager -confirm:$false $sm = Get-IISServerManager
Reset-IISServerManager -confirm:$false
$sm = Get-IISServerManager
# Add AppSettings section
$sm.GetApplicationHostConfiguration().RootSectionGroup.Sections.Add("appSettings")