私はthisとthisのように答えを数回見ました。しかし、私はいつも以下のようないくつかのエラーが発生します。PowerShellコンソールでwgetをユーザー名とパスワードで使用する方法
私は何が間違っているのか分かりません。私は以下のバリエーションを試してみましたが、すべて同様のエラーが発生します。助けてください。
wget --user "[email protected]" --password "[email protected]$w0rd" https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user="[email protected]" --password="[email protected]$w0rd" https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user='[email protected]' --password='[email protected]$w0rd' https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
wget --user [email protected] --password [email protected]$w0rd https://bitbucket.org/WhatEver/WhatEverBranchName/get/master.zip
Invoke-WebRequest : A positional parameter cannot be found that accepts argument '[email protected]$w0rd'. At line:1 char:1 + wget --user='[email protected]' --password='[email protected]$w0rd' ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
おかげで、あなたが言ったことは理にかなっています。 – VivekDev