# Open your $PROFILE fileNotepad$PROFILE# If you don't have a $PROFILE, you can create one using;if(!(Test-Path-Path$PROFILE)){New-Item-TypeFile-Path$PROFILE-Force}# Add the below code block to the $PROFILE and save.Register-ArgumentCompleter-Native-CommandNameaws-ScriptBlock{param($commandName,$wordToComplete,$cursorPosition)$env:COMP_LINE=$wordToCompleteif($env:COMP_LINE.Length-lt$cursorPosition){$env:COMP_LINE=$env:COMP_LINE+" "}$env:COMP_POINT=$cursorPositionaws_completer.exe|ForEach-Object{[System.Management.Automation.CompletionResult]::new($_,$_,'ParameterValue',$_)}Remove-ItemEnv:\COMP_LINERemove-ItemEnv:\COMP_POINT}