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.
Type: SwitchParameter
Parameter Sets: all
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllButLatest
Remove all but the latest installed version of Akamai PowerShell. This will also include the V1 AkamaiPowershell module.
Type: SwitchParameter
Parameter Sets: allbutlatest
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-AllV1
Remove all versions of the monolithic Akamai Powershell (v1) module. Any installed modules of version 2.0 or above will not be affected.
Type: SwitchParameter
Parameter Sets: allv1
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Confirm
Prompts you for confirmation before running the cmdlet.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: cf
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-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.
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Version
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.
Type: String
Parameter Sets: version
Aliases:
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-WhatIf
Shows what would happen if the cmdlet runs.
The cmdlet is not run.
Type: SwitchParameter
Parameter Sets: (All)
Aliases: wi
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
Related Links
Updated 22 days ago