Skip to content

useb parameter in Windows install script isn't documented #12994

Closed

Description

@nschonni

From https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/invoke-webrequest?view=powershell-5.1 it looks like it might be an undocumented form of "-UseBasicParsing`. It might be better to be explicit if that's the case


Document details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Activity

  1. svick commented on Aug 10, 2019

    @svick
    Member

    I believe it is a PowerShell feature that you can shorten parameter names, as long as that shortening is still unique within that command. Though I couldn't find any official documentation about this.

  2. Thraka commented on Aug 12, 2019

    @Thraka
    Contributor

    Correct, PowerShell will match a partial parameter as long as it can only resolve to a single parameter.

    You shouldn't use partial parameters in scripts. If the command introduces a parameter named useb in a future version, this would break the script.

  3. added this to the Backlog milestone on Aug 12, 2019
  4. added
    good first issue
    help wanted
    on Aug 12, 2019
  5. added a commit that references this issue on Sep 3, 2019
    e353457
  6. modified the milestones: Backlog, September 2019 on Sep 3, 2019
  7. added a commit that references this issue on Sep 3, 2019
    e744ff3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cli/subsvcgood first issuehelp wanted

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions