powershellscripts.com

Tutorials  PowerShell Cmdlet Help for Get-WebFilePath



NAME
Get-WebFilePath

SYNOPSIS
Gets the physical path to the specified IIS module location.

SYNTAX
Get-WebFilePath [[-PSPath] ] [-WarningAction ] [-WarningVariable ] [ meters>]


DESCRIPTION
Gets the physical path to the specified IIS module location.


PARAMETERS
-PSPath
An IIS configuration path.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-WarningAction


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false


This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS



NOTES




-------------- EXAMPLE 1: Getting the physical path of the Default Web Site --------------

C:\PS>Get-WebFilePath 'IIS:\Sites\Default Web Site'


Demonstrates how to retrieve the physical path for the Default Web Site.


Directory: Microsoft.PowerShell.Core\FileSystem::C:\inetpub


Mode LastWriteTime Length Name
---- ------------- ------ ----
d---- 7/28/2008 9:40 PM wwwroot



RELATED LINKS