< Back
Get-PSFPath
Post
NAME Get-PSFPath
SYNOPSIS
Access a configured path.
SYNTAX
Get-PSFPath [-Name] <String> [<CommonParameters>]
DESCRIPTION
Access a configured path.
Paths can be configured using Set-PSFPath or using the configuration system.
To register a path using the configuration system create a setting key named like this:
"PSFramework.Path.<PathName>"
For example the following setting points at the temp path:
"PSFramework.Path.Temp"
PARAMETERS
-Name <String>
Name of the path to retrieve.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PSFPath -Name 'temp'
Returns the temp path.
RELATED LINKS
SYNOPSIS
Access a configured path.
SYNTAX
Get-PSFPath [-Name] <String> [<CommonParameters>]
DESCRIPTION
Access a configured path.
Paths can be configured using Set-PSFPath or using the configuration system.
To register a path using the configuration system create a setting key named like this:
"PSFramework.Path.<PathName>"
For example the following setting points at the temp path:
"PSFramework.Path.Temp"
PARAMETERS
-Name <String>
Name of the path to retrieve.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
OUTPUTS
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-PSFPath -Name 'temp'
Returns the temp path.
RELATED LINKS