Update nano-server.md (#4171)
Following items edited: Reset-IISServerManager -confirm:$false $sm = Get-IISServerManagerpull/4174/head
parent
b96c1e2877
commit
a2fad7f70f
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue