Get-vPenTestModuleSettings

SYNOPSIS

Gets the saved vPenTest configuration settings

SYNTAX

Index (Default)

Get-vPenTestModuleSettings [[-vPenTestConfigPath] <string>] [[-vPenTestConfigFile] <string>]
 [-OpenConfigFile]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Get-vPenTestModuleSettings cmdlet gets the saved vPenTest configuration settings from the local system

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

EXAMPLES

EXAMPLE 1

Get-vPenTestModuleSettings

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

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

EXAMPLE 2

Get-vPenTestModuleSettings -vPenTestConfigPath C:\Celerium.vPenTest -vPenTestConfigFile MyConfig.psd1 -OpenConfigFile

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

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

PARAMETERS

-OpenConfigFile

Opens the vPenTest 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: ''

-vPenTestConfigFile

Define the name of the vPenTest 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: ''

-vPenTestConfigPath

Define the location to store the vPenTest configuration file

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

Type: System.String
DefaultValue: $(Join-Path -Path $home -ChildPath $(if ($IsWindows -or $PSEdition -eq 'Desktop') {"Celerium.vPenTest"}else{".Celerium.vPenTest"}) )
SupportsWildcards: false
Aliases: []
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