Get-BirdWeatherModuleSettings
SYNOPSIS
Gets the saved BirdWeather configuration settings
SYNTAX
Index (Default)
Get-BirdWeatherModuleSettings [[-BirdWeatherConfigPath] <string>]
[[-BirdWeatherConfigFile] <string>] [-OpenConfigFile]
ALIASES
This cmdlet has the following aliases,
- Get-BWModuleSettings
DESCRIPTION
The Get-BirdWeatherModuleSettings cmdlet gets the saved BirdWeather configuration settings from the local system
By default the configuration file is stored in the following location: $env:USERPROFILE\Celerium.BirdWeather
EXAMPLES
EXAMPLE 1
Get-BirdWeatherModuleSettings
Gets the contents of the configuration file that was created with the Export-BirdWeatherModuleSettings
The default location of the BirdWeather configuration file is: $env:USERPROFILE\Celerium.BirdWeather\config.psd1
EXAMPLE 2
Get-BirdWeatherModuleSettings -BirdWeatherConfigPath C:\Celerium.BirdWeather -BirdWeatherConfigFile MyConfig.psd1 -OpenConfigFile
Opens the configuration file from the defined location in the default editor
The location of the BirdWeather configuration file in this example is: C:\Celerium.BirdWeather\MyConfig.psd1
PARAMETERS
-BirdWeatherConfigFile
Define the name of the BirdWeather configuration file
By default the configuration file is named: config.psd1
Type: System.String
DefaultValue: config.psd1
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-BirdWeatherConfigPath
Define the location to store the BirdWeather configuration file
By default the configuration file is stored in the following location: $env:USERPROFILE\Celerium.BirdWeather
Type: System.String
DefaultValue: $(Join-Path -Path $Home -ChildPath $(if ($IsWindows -or $PSEdition -eq 'Desktop') {"Celerium.BirdWeather"}else{".Celerium.BirdWeather"}) )
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''
-OpenConfigFile
Opens the BirdWeather configuration file
Type: System.Management.Automation.SwitchParameter
DefaultValue: False
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: Named
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