Uninstall Akamai

Uninstall-Akamai

Synopsis

Remove one or more versions of Akamai PowerShell modules.

Syntax

Uninstall-Akamai -Version <String> [-ModulePath <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-Akamai [-All] [-ModulePath <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-Akamai [-AllV1] [-ModulePath <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]
Uninstall-Akamai [-AllButLatest] [-ModulePath <String>] [-ProgressAction <ActionPreference>] [-WhatIf] [-Confirm] [<CommonParameters>]

Description

Uninstalls one or more versions of the Akamai PowerShell module(s). Use it primarily to clean up version 1.x installations that aren't automatically upgraded when installing version 2. You can use this function to remove a specific version, uninstall all versions, remove all installed instances of version 1, or delete all versions except for the latest version of both v1 and v2 simultaneously.

Parameters

‑All

Remove all versions of Akamai PowerShell from all applicable locations.

‑AllButLatest

Remove all but the latest installed version of Akamai PowerShell. This will also include the V1 AkamaiPowershell module.

‑AllV1

Remove all versions of the monolithic Akamai Powershell (v1) module. Any installed modules of version 2.0 or above will not be affected.

‑Confirm
‑ModulePath

By default, this funtion will inspect all folders in your PSModulePath environmen variable. Add this option if you would like to apply the removals to a specific directory.

‑Version
Conditionally required

Remove any installed Akamai modules matching a given version string. Note: if you only specify the major and minor versions, e.g. 2.0, all patch version numbers will also be removed, e.g. 2.0.1, 2.0.2 etc. The same applies if you only supply a major version, any matching minor or patch versions will be removed.

‑WhatIf

Related Links

User Guide: Overview