commands

^

Get-DbatoolsPath

Availability Windows, Linux, macOS

 

Want to see the source code for this command? Check out Get-DbatoolsPath on GitHub.
Want to see the Bill Of Health for this command? Check out Get-DbatoolsPath.

Synopsis

Access a configured path.

Description

Access a configured path. Paths can be configured using Set-DbatoolsPath or using the configuration system. To register a path using the configuration system create a setting key named like this: "Path.Managed." For example the following setting points at the temp path: "Path.Managed.Temp"

Syntax

Get-DbatoolsPath
    [-Name] <String>
    [<CommonParameters>]

 

Examples

 

Example: 1
PS C:\> Get-DbatoolsPath -Name 'temp'

Returns the temp path.

Required Parameters

-Name

Name of the path to retrieve.

Alias
Required True
Pipeline false
Default Value