Skip to content

BIOS Option 'CbsCmnApbdis' shown as 'int value__' with '_0' and '_1' as values instead of integers '0' and '1' #180

@knoll-nc

Description

@knoll-nc

Describe the bug
When setting or getting the value an integer is expected. However, the interger is not set and not received.

To Reproduce
Create a new BIOS policy:

PS C:\> New-IntersightBiosPolicy -Name "amd-test" -CbsCmnApbdis _1

ClassId                        : BiosPolicy
ObjectType                     : BiosPolicy
[...]
C1autoUnDemotion               : PlatformDefault
CbsCmnApbdis                   : _1
CbsCmnCpuAvx512                : PlatformDefault 
[...] 

Read it:

PS C:\> (get-IntersightBiosPolicy -Name "amd-test").CbsCmnApbdis
_1 

Tested it with a value of 1 which didn't result in any error, but the value was just platform default:

PS C:\> New-IntersightBiosPolicy -Name "amd-test2" -CbsCmnApbdis 1

ClassId                        : BiosPolicy
ObjectType                     : BiosPolicy
[...]
C1autoUnDemotion               : PlatformDefault
CbsCmnApbdis                   : PlatformDefault
CbsCmnCpuAvx512                : PlatformDefault 
[...] 

Read it:

PS C:\> (get-IntersightBiosPolicy -Name "amd-test2").CbsCmnApbdis
PlatformDefault 

Did the same via UI and had a look at the browser inspection network tab:

CbsCmnApbdis: "1"

Read it via PS:

PS C:\> (get-IntersightBiosPolicy -Name "amd-test3").CbsCmnApbdis
_1 

Version used

  • PSVersion: 7.4.6
  • Intersight PowerShell Version: 1.0.11.2024112619

Expected behavior
values of 0 and 1 instead of _0 and _1

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