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