AsBuiltReport.VMware.vSphere icon indicating copy to clipboard operation
AsBuiltReport.VMware.vSphere copied to clipboard

An item with the same key has already been added

Open udotrautmann opened this issue 9 months ago • 5 comments

Bug description

New-AsBuiltReport : An item with the same key has already been added. At line:1 char:1

  • New-AsBuiltReport -Report VMware.vSphere -Target "xc-vca-01.sysc-chem ...
  •   + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
      + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,New-AsBuiltReport
    
    

Command-line input

New-AsBuiltReport -Report VMware.vSphere -Target "" -Username "[email protected]" -Password "password" -Format TEXT,Html,Word -OutputFolderPath "C:\Doku\VMware" -Timestamp -AsBuiltConfigFilePath "C:\Doku\AsBuiltReport.json" -Verbose

Steps to reproduce

any time trying to create a new report with the cli above I getting this error at the end of the runtime and there is no report created

Expected behaviour

successful create report

Screenshots

No response

Operating System

Windows Server 2025 Standard PowerShellVersion 5.1.26100.3624

PowerShell Version

Name Value


PSVersion 5.1.26100.3624 PSEdition Desktop PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} BuildVersion 10.0.26100.3624 CLRVersion 4.0.30319.42000 WSManStackVersion 3.0 PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1

PowerShell Modules

Name Version


AsBuiltReport.Core 1.4.3 AsBuiltReport.VMware.vSphere 1.3.4.1 PScribo 0.11.1

Additional Context

No response

Before submitting

udotrautmann avatar Apr 29 '25 16:04 udotrautmann