< Back

Get-DbatoolsPath

Mon Jan 13, 2020 11:45 am

NAME Get-DbatoolsPath



SYNOPSIS

Access a configured path.





SYNTAX

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





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.<PathName>"



For example the following setting points at the temp path:



"Path.Managed.Temp"





PARAMETERS

-Name [<String>]

Name of the path to retrieve.



Required? false

Position? named

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-DbatoolsPath -Name 'temp'



Returns the temp path.



RELATED LINKS