PowerShell Logo Small

Get-WebConfigFile



This is the built-in help made by Microsoft for the command 'Get-WebConfigFile', in PowerShell version 3 - as retrieved from Windows version 'Microsoft Windows Server 2012 Standard' PowerShell help files on 2016-06-23.

For PowerShell version 3 and up, where you have Update-Help, this command was run just before creating the web pages from the help files.

SYNOPSIS

Gets the file system path of the Web.config file.

SYNTAX


Get-WebConfigFile [[-PSPath] <String[]>] [<CommonParameters>]



Search powershellhelp.space

DESCRIPTION


Gets the physical path of the IIS configuration file at the specified IIS module namespace path.



<

RELATED LINKS


REMARKS

<

Examples


-------------- EXAMPLE 1: Open the Web.config file for the Default Web Site --------------

IIS:\>notepad (Get-WebConfigFile 'IIS:\Sites\Default Web Site')



This example demonstrates how to use Notepad to open the web.config file for the Default Web Site.