Skip to content

Powershell fetch doesn't work #880

@SleeplessByte

Description

@SleeplessByte
Fetching configlet...
Invoke-RestMethod : A parameter cannot be found that matches parameter name 'PreserveAuthorizationOnRedirect'.
At C:\Users\Derk-Jan\Documents\GitHub\exercism\typescript\bin\fetch-configlet.ps1:18 char:39
+ ... e-RestMethod -Uri $latestUrl -PreserveAuthorizationOnRedirect @reques ...
+                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Invoke-RestMethod], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
PS C:\Users\Derk-Jan\Documents\GitHub\exercism\typescript> get-host


Name             : ConsoleHost
Version          : 5.1.22621.3880
InstanceId       : 8ba2f00c-7362-4f0a-871d-53ab194a2c49
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Is there anything else I can provide to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions