Update get-webconfig.ps1

bugs to be fixed