From a2fad7f70f1dbee083bc9b424863baca4ea91830 Mon Sep 17 00:00:00 2001 From: babakramak <31534296+babakramak@users.noreply.github.com> Date: Fri, 1 Sep 2017 18:44:28 +0430 Subject: [PATCH] Update nano-server.md (#4171) Following items edited: Reset-IISServerManager -confirm:$false $sm = Get-IISServerManager --- aspnetcore/tutorials/nano-server.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aspnetcore/tutorials/nano-server.md b/aspnetcore/tutorials/nano-server.md index f3d57deeaa..157b8c7f23 100644 --- a/aspnetcore/tutorials/nano-server.md +++ b/aspnetcore/tutorials/nano-server.md @@ -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")