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

Controls the auto-iteration behavior for AWS PowerShell cmdlets. Sets whether to use standard mode (all operations with pagination support auto-iterate) or v4 mode (only operations that had auto-iteration in v4 will auto-iterate).

Syntax

Set-AWSAutoIterationMode
-IterationMode <String>
-Scope <VariableScope>

Description

Controls the auto-iteration behavior for AWS PowerShell cmdlets. Sets a shell variable that determines whether cmdlets use standard or v4 auto-iteration mode. In standard mode, all operations with pagination support will auto-iterate by default. In v4 mode, only operations that had auto-iteration in v4 will auto-iterate, maintaining backward compatibility.

Parameters

-IterationMode <String>
Controls the auto-iteration behavior for AWS PowerShell cmdlets. When set to 'standard' (default), all operations with pagination support will auto-iterate. When set to 'v4', only operations that had auto-iteration in v4 will auto-iterate, maintaining backward compatibility.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)
-Scope <VariableScope>
Sets the scope of the shell variable AWSPowerShell_AutoIteration_Mode. For details about variables scopes, see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_scopes.
Required?False
Position?Named
Accept pipeline input?True (ByPropertyName)

Outputs

Supported Version

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