Get-TCGdexModuleSettings

SYNOPSIS

Gets the saved TCGdex configuration settings

SYNTAX

Index (Default)

Get-TCGdexModuleSettings [[-TCGdexConfigPath] <string>] [[-TCGdexConfigFile] <string>]
 [-OpenConfigFile]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Get-TCGdexModuleSettings cmdlet gets the saved TCGdex configuration settings from the local system

By default the configuration file is stored in the following location: $env:USERPROFILE\Celerium.TCGdex

EXAMPLES

EXAMPLE 1

Get-TCGdexModuleSettings

Gets the contents of the configuration file that was created with the Export-TCGdexModuleSettings

The default location of the TCGdex configuration file is: $env:USERPROFILE\Celerium.TCGdex\config.psd1

EXAMPLE 2

Get-TCGdexModuleSettings -TCGdexConfigPath C:\Celerium.TCGdex -TCGdexConfigFile MyConfig.psd1 -OpenConfigFile

Opens the configuration file from the defined location in the default editor

The location of the TCGdex configuration file in this example is: C:\Celerium.TCGdex\MyConfig.psd1

PARAMETERS

-OpenConfigFile

Opens the TCGdex configuration file

Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases:
- OpenConfFile
ParameterSets:
- Name: (All)
  Position: Named
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-TCGdexConfigFile

Define the name of the TCGdex configuration file

By default the configuration file is named: config.psd1

Type: System.String
DefaultValue: config.psd1
SupportsWildcards: false
Aliases:
- ConfigFile
- TCGdexConfFile
ParameterSets:
- Name: (All)
  Position: 1
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

-TCGdexConfigPath

Define the location to store the TCGdex configuration file

By default the configuration file is stored in the following location: $env:USERPROFILE\Celerium.TCGdex

Type: System.String
DefaultValue: $(Join-Path -Path $home -ChildPath $(if ($IsWindows -or $PSEdition -eq 'Desktop') {"Celerium.TCGdex"}else{".Celerium.TCGdex"}) )
SupportsWildcards: false
Aliases:
- ConfigPath
- TCGdexConfPath
ParameterSets:
- Name: (All)
  Position: 0
  IsRequired: false
  ValueFromPipeline: false
  ValueFromPipelineByPropertyName: false
  ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

N/A