Skip to content
This repository was archived by the owner on Aug 28, 2025. It is now read-only.
This repository was archived by the owner on Aug 28, 2025. It is now read-only.

Error: New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'. #12

@tmack8080

Description

@tmack8080

Describe the bug
UCSM 4.1
Windows PowerShell 5.1
AsBuiltReport.Cisco.UcsManager 2.1

While the report is being generated I receive the following error and the report is not written to disk:
New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
At line:1 char:1

  • New-AsBuiltReport -Report Cisco.UcsManager -Target 'x.x.x.x' -Fo ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    
    

To Reproduce
New-AsBuiltReport -Report Cisco.UcsManager -Target 'x.x.x.x' -Format Html -OutputFolderPath 'C:\Users\someUser\myApps\AsBuilt\UCS' -Timestamp -Verbose

Expected behavior
I am able to successfully run this against 6248 FIs but not against 6332 FIs. I tested in two separate environments for both FI models.

Screenshots
VERBOSE: [ 18:59:26:260 ] [ Document ] - Processing section 'Server Pool Assignments' started.
VERBOSE: [ 18:59:26:266 ] [ Document ] - Processing section 'Server Pool Assignments' completed.
VERBOSE: [ 18:59:26:270 ] [ Document ] - Processing section 'Pools' completed.
VERBOSE: [ 18:59:26:279 ] [ Document ] - Processing section 'Servers' completed.
VERBOSE: [ 18:59:26:283 ] [ Document ] - Processing section 'LAN' started.
VERBOSE: [ 18:59:26:288 ] [ Document ] - Processing section 'LAN Cloud' started.
VERBOSE: [ 18:59:26:463 ] [ Document ] - Processing table 'LAN Cloud'.
VERBOSE: [ 18:59:26:641 ] [ Document ] - Processing section 'Port Channels and Uplinks' started.
VERBOSE: [ 18:59:26:655 ] [ Document ] - Processing table 'Port Channels and Uplinks'.
VERBOSE: [ 18:59:26:678 ] [ Document ] - Processing blank line.
New-AsBuiltReport : Method invocation failed because [System.Management.Automation.PSObject] does not contain a method named 'op_Addition'.
At line:1 char:1

  • New-AsBuiltReport -Report Cisco.UcsManager -Target '10.252.0.175' -Fo ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    
    
    

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