1回答
- 新しい順
- 投票が多い順
- コメントが多い順
0
I played around with downloading from the returned stream and got this to work:
$buildPackage = Get-CAPackageVersionAsset -Asset MyAsset.3.55.98.zip -Domain mydomain -DomainOwner <aws_account_id> -Format generic -Namespace mynamespace -Package MyAsset -PackageVersion 3.55.98 -Repository myrepo
$ms = New-Object System.IO.MemoryStream
$buildPackage.Asset.CopyTo($ms)
$bytes = $ms.ToArray()
[IO.File]::WriteAllBytes($DownloadPath, $bytes)
回答済み 6ヶ月前
関連するコンテンツ
- AWS公式更新しました 2年前