I'm also not sure that the cmdlet would download a large file even if the URI is corrected.
To Reproduce
Something like the following can be used to generate a tech support, check for status completed, but the actual download doesn't look possible with the module:
$NewTechSupport = New-IntersightTechsupportmanagementTechSupportBundle -Pid "UCSB-B200-M5" -PlatformType "UCSFIISM" -Serial "FLM2342066T"
Describe the bug Get-IntersightTechsupportmanagementDownload appears to use the regular API URLs when attempting a download, but tech support downloads use download.intersight.com (from the UI): Request URL: https://download.intersight.com/api/v1/techsupportmanagement/Downloads/673f95f2616c643101bc0c2b Request Method: GET
I'm also not sure that the cmdlet would download a large file even if the URI is corrected.
To Reproduce Something like the following can be used to generate a tech support, check for status completed, but the actual download doesn't look possible with the module: $NewTechSupport = New-IntersightTechsupportmanagementTechSupportBundle -Pid "UCSB-B200-M5" -PlatformType "UCSFIISM" -Serial "FLM2342066T"
$Status = Get-IntersightTechsupportmanagementTechSupportStatus -Moid $NewTechSupport.TechSupportStatus.ActualInstance.Moid While ($Status.Status -ne 'Completed') { Start-Sleep -Seconds 10 $Status = Get-IntersightTechsupportmanagementTechSupportStatus -Moid $NewTechSupport.TechSupportStatus.ActualInstance.Moid }
$BundleMoid = $Status.TechsupportDownloadUrl $BundleMoid = $BundleMoid.Split("/")[-1] $TechSupportBundle = Get-IntersightTechsupportmanagementDownload -Moid $BundleMoid Set-Content -Path "tech_support.tar.gz" -Value $TechSupportBundle -AsByteStream
Version used 1.0.11.2024101709