How to migrate from Autorest PowerShell v3 to v4 please refer to here.
This allows users to pipe parent objects into cmdlets, simplifying commands.
Users will see a visual indicator during long operations. Important to note it's just visual, no impact on functionality.
Enums are now strings with tab completion. Users can still tab through possible values, which is more flexible.
Automatically changes based on the number of results. Single result shows detailed list, multiple show concise table.
Adds links to external documentation directly in the cmdlet help. Helps users find more info easily.
Now lists instead of fixed arrays, making it easier to add elements. Simplifies scripting.
More consistent naming in generated code, but users probably won't notice unless they work with the code directly.
Users can create resources via JSON files or strings. Provides flexibility, especially for complex configurations.
Better handling of create vs update operations based on HTTP methods. Helps ensure correct cmdlet usage.
Changes parameter types for identity settings. Users need to adjust to new parameter names and types (switch parameters for enabling, string arrays for identities).
Automatically retries on certain errors. Users benefit from increased reliability. Can configure via environment variables.
For resources without PATCH, updates use GET then PUT. Might affect performance but ensures compatibility. Conflicts possible, so mention the disable option.
13. Discriminator parameter hidden:
Removes redundant parameters in model cmdlets, making them cleaner. Users won't have to input fixed values.