< Back

Get-UserSettingsFilePath

Sat Jan 18, 2020 6:45 pm

NAME Get-UserSettingsFilePath



SYNOPSIS

Concatenates the provided path and the relative user settings file path (".\\.pentia\\user-settings.json").





SYNTAX

Get-UserSettingsFilePath [[-SolutionRootPath] <String>] [<CommonParameters>]





DESCRIPTION





PARAMETERS

-SolutionRootPath <String>

OPTIONAL: The path to concatenate. If omitted, the current working directory is used.



Required? false

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

System.String





-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Get-UserSettingsFilePath



Return "<current working directory>\\.pentia\\user-settings.json"



Get-UserSettingsFilePath -SolutionRootPath "C:\\Some-Path\\"

Return "C:\\Some-Path\\.pentia\\user-settings.json"











RELATED LINKS