< Back
Get-UserSettings
Post
NAME Get-UserSettings
SYNOPSIS
Loads a UserSettings-object from "$SolutionRootPath/.pentia/user-settings.json".
SYNTAX
Get-UserSettings [[-SolutionRootPath] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-SolutionRootPath <String>
OPTIONAL - Settings are loaded from "$SolutionRootPath/.pentia/user-settings.json". The current directory
($PWD) is used as a fallback.
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
UserSettings
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$settings = Get-UserSettings
Returns the previously saved user settings, or an empty object.
RELATED LINKS
SYNOPSIS
Loads a UserSettings-object from "$SolutionRootPath/.pentia/user-settings.json".
SYNTAX
Get-UserSettings [[-SolutionRootPath] <String>] [<CommonParameters>]
DESCRIPTION
PARAMETERS
-SolutionRootPath <String>
OPTIONAL - Settings are loaded from "$SolutionRootPath/.pentia/user-settings.json". The current directory
($PWD) is used as a fallback.
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
UserSettings
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>$settings = Get-UserSettings
Returns the previously saved user settings, or an empty object.
RELATED LINKS