AWS Tools for Windows PowerShell
Command Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Synopsis

Uninstalls all currently installed AWS.Tools modules.

Syntax

Uninstall-AWSToolsModule
-MinimumVersion <System.Version>
-RequiredVersion <System.Version>
-MaximumVersion <System.Version>
-ExceptVersion <System.Version>
-Force <SwitchParameter>
-WhatIf <SwitchParameter>
-Confirm <SwitchParameter>

Description

This cmdlet uses Uninstall-Module to uninstall all currently installed AWS.Tools modules.

Parameters

-MinimumVersion <Version>
Specifies the minimum version of the modules to uninstall.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)
-RequiredVersion <Version>
Specifies exact version number of the module to uninstall.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)
-MaximumVersion <Version>
Specifies the maximum version of the modules to uninstall.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)
-ExceptVersion <Version>
Specifies that you want to uninstall all of the other available versions of AWS Tools except this one.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)
-Force <SwitchParameter>
Forces Uninstall-AWSToolsModule to run without asking for user confirmation.
Required? False
Position? Named
Accept pipeline input? True (ByPropertyName)

Examples

Example 1

Uninstall-AWSToolsModule -ExceptVersion 4.0.0.0
This example uninstalls all versions of all AWS.Tools modules except for version 4.0.0.0.

Supported Version

AWS Tools for PowerShell: 2.x.y.z