Remove-APITCGModuleSettings

SYNOPSIS

Removes the stored APITCG configuration folder

SYNTAX

Destroy (Default)

Remove-APITCGModuleSettings [[-APITCGConfigPath] <string>] [-AndVariables] [-WhatIf] [-Confirm]

ALIASES

This cmdlet has the following aliases,

  • None

DESCRIPTION

The Remove-APITCGModuleSettings cmdlet removes the APITCG folder and its files This cmdlet also has the option to remove sensitive APITCG variables as well

By default configuration files are stored in the following location and will be removed: $env:USERPROFILE\Celerium.APITCG

EXAMPLES

EXAMPLE 1

Remove-APITCGModuleSettings

Checks to see if the default configuration folder exists and removes it if it does

The default location of the APITCG configuration folder is: $env:USERPROFILE\Celerium.APITCG

EXAMPLE 2

Remove-APITCGModuleSettings -APITCGConfigPath C:\Celerium.APITCG -AndVariables

Checks to see if the defined configuration folder exists and removes it if it does If sensitive APITCG variables exist then they are removed as well

The location of the APITCG configuration folder in this example is: C:\Celerium.APITCG

PARAMETERS

-AndVariables

Define if sensitive APITCG variables should be removed as well

By default the variables are not removed

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: ''

-APITCGConfigPath

Define the location of the APITCG configuration folder

By default the configuration folder is located at: $env:USERPROFILE\Celerium.APITCG

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

-Confirm

Prompts you for confirmation before running the cmdlet.

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

-WhatIf

Runs the command in a mode that only reports what would happen without performing the actions.

Type: System.Management.Automation.SwitchParameter
DefaultValue: ''
SupportsWildcards: false
Aliases:
- wi
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