Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New-IntersightHclCompatibilityStatus Not Returning Any Output #79

Open
briamorr opened this issue Sep 12, 2022 · 1 comment
Open

New-IntersightHclCompatibilityStatus Not Returning Any Output #79

briamorr opened this issue Sep 12, 2022 · 1 comment

Comments

@briamorr
Copy link

Describe the bug
New-IntersightHclCompatibilityStatus Not Returning Any Output

To Reproduce
$firmware = Initialize-IntersightHclFirmware -FirmwareVersion "4.3(3a)"
$product = Initialize-IntersightHclProduct -Firmwares $firmware -Model "UCSC-MLOM-C40Q-03"

$profile = Initialize-IntersightHclHardwareCompatibilityProfile -ServerModel "UCSC-C220-M5SX" -ProcessorModel "Intel(R) Xeon(R) Silver 4108 CPU @ 1.80GHz" -OsVendor "VMware" -OsVersion "ESXi 6.7 U3" -UcsVersion "4.0(4b)" -VersionType "IMC" -Products $product

New-IntersightHclCompatibilityStatus -Profile $profile

Version used

  • 1.0.11.7766
  • SaaS

Expected behavior
Objects to be available

Screenshots
N/A

Additional context
If we do add the JSON flag "New-IntersightHclCompatibilityStatus -Profile $profile -Json" we can see Intersight is returning something but the powershell cmdlet is not formatting it.

@Ghufz
Copy link
Collaborator

Ghufz commented Jan 4, 2023

Please specify the RequestType parameter like this

$result = New-IntersightHclCompatibilityStatus -Profile $profile -RequestType CheckCompatibility

there is issue while de-serializing the response when RequestType other than CheckCompatibility , we are looking into it, there is a work around for it

$jsonResult =  New-IntersightHclCompatibilityStatus -Profile $profile -RequestType FillSupportedVersions -JSON
$psObj = $jsonResult[1] | ConvertFrom-Json 

# $jsonResult returns list of json string the index 0 i.e $jsonResult[0] of the list contains request json string and index 1 i.e $jsonResult[1] contains Response json string 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants