Git Product home page Git Product logo

Comments (9)

TAThacker avatar TAThacker commented on June 12, 2024 1

I have sent you an email.

from asbuiltreport.vmware.horizon.

ssimps4 avatar ssimps4 commented on June 12, 2024 1

@rebelinux I will try an fix this prior to bugging you about the reports. Stay tuned!

from asbuiltreport.vmware.horizon.

rebelinux avatar rebelinux commented on June 12, 2024

Can you run the report with the -Verbose command and send me the output?

[email protected]

Regards,

from asbuiltreport.vmware.horizon.

rebelinux avatar rebelinux commented on June 12, 2024

I was able to replicate the error you report it happens when the user is specified without the Domain part.

Make sure that the username is specified as follows: [email protected]

Wrong Format: $Cred = New-Object System.Management.Automation.PSCredential ("administrator", $password)

PS /home/xxxxxxx> $password = ConvertTo-SecureString "XXXXX" -AsPlainText -Force                                                                       
PS /home/xxxxxxx> $Cred = New-Object System.Management.Automation.PSCredential ("administrator", $password) 
PS /home/xxxxxxx> New-AsBuiltReport -Report VMware.Horizon -AsBuiltConfigFilePath /home/xxx/script/AsBuiltReport.json -OutputFolderPath /home/xxxx/script -Target 192.168.7.202 -Format HTML -EnableHealthCheck -Credential $cred -ReportConfigFilePath /home/xxx/script/AsbuiltReport.VMware.Horizon.json
Please wait while the VMware Horizon As Built Report is being generated.
WARNING: [ 10:29:55:561 ] [ Document ] - Please refer to the AsBuiltReport.VMware.Horizon github website for more detailed information about this project.
WARNING: [ 10:29:55:562 ] [ Document ] - Do not forget to update your report configuration file after each new version release.
WARNING: [ 10:29:55:563 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.VMware.Horizon
WARNING: [ 10:29:55:564 ] [ Document ] - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.VMware.Horizon/issues
WARNING: [ 10:29:57:470 ] [ Document ] - Valid Domain is required
VMware Horizon As Built Report 'VMware Horizon As Built Report' has been saved to '/home/xxxxxxx/script'.
PS /home/xxxxxxx> 

Correct Format: $Cred = New-Object System.Management.Automation.PSCredential ("[email protected]", $password)

PS /home/xxxxxxx> New-AsBuiltReport -Report VMware.Horizon -AsBuiltConfigFilePath /home/xxxxx/script/AsBuiltReport.json -OutputFolderPath /home/xxxxxxx/script -Target 192.168.7.202 -Format HTML -EnableHealthCheck -Credential $cred -ReportConfigFilePath /home/xxxxx/script/AsbuiltReport.VMware.Horizon.json
Please wait while the VMware Horizon As Built Report is being generated.
WARNING: [ 10:35:50:908 ] [ Document ] - Please refer to the AsBuiltReport.VMware.Horizon github website for more detailed information about this project.
WARNING: [ 10:35:50:909 ] [ Document ] - Do not forget to update your report configuration file after each new version release.
WARNING: [ 10:35:50:910 ] [ Document ] - Documentation: https://github.com/AsBuiltReport/AsBuiltReport.VMware.Horizon
WARNING: [ 10:35:50:911 ] [ Document ] - Issues or bug reporting: https://github.com/AsBuiltReport/AsBuiltReport.VMware.Horizon/issues
VMware Horizon As Built Report 'VMware Horizon As Built Report' has been saved to '/home/xxxxxxx/script'.
PS /home/xxxxxxx> 

Thank you for reporting the situation. I will be updating the documentation to specify the user format requirements.

from asbuiltreport.vmware.horizon.

ssimps4 avatar ssimps4 commented on June 12, 2024

Hi @rebelinux,
I'm still seeing the same issue occur on my end while trying to use the Horizon AsBuilt module.
When I specify the [email protected] and password I still receive the error:

New-AsBuiltReport : The property 'Number' cannot be found on this object. Verify that the property exists.
At line:1 char:1

I'm currently running version 8.10 of VMware Horizon in a test lab.
Some assistance would be greatly appreciated!

from asbuiltreport.vmware.horizon.

rebelinux avatar rebelinux commented on June 12, 2024

Can you run the report with the -verbose option and send me the output to [email protected]?

from asbuiltreport.vmware.horizon.

ssimps4 avatar ssimps4 commented on June 12, 2024

Thanks. I have sent over an email with the details of the verbose report.

from asbuiltreport.vmware.horizon.

rebelinux avatar rebelinux commented on June 12, 2024

Can you do a test and try to connect to your CS server from a powershell console?

Connect-HVServer -Server horizon-cs -Credential (Get-Credential)

The output i get from my homelab:

PS /home/rebelinux/.local/share/powershell/Modules/AsBuiltReport.VMware.Horizon> Connect-HVServer -Server horizon-cs-01v.pharmax.local -Credential (Get-Credential)

PowerShell credential request
Enter your credentials.
User: [email protected]
Password for user [email protected]: ********


ServiceUri          : https://horizon-cs-01v.pharmax.local/view-vlsi/sdk
RefCount            : 1
User                : administrator
Domain              : pharmax.local
Id                  : /[email protected]/
SessionSecret       : 06eb4320-db7c-44f8-80be-4d078881b87f
IsConnected         : True
ExtensionData       : VMware.Hv.Services
Name                : horizon-cs-01v.pharmax.local
Uid                 : /[email protected]/
Client              : VMware.VimAutomation.HorizonView.Impl.V1.ViewServerClientImpl
EncryptionWarning   : 
EncryptionException : 


PS /home/rebelinux/.local/share/powershell/Modules/AsBuiltReport.VMware.Horizon>

from asbuiltreport.vmware.horizon.

ssimps4 avatar ssimps4 commented on June 12, 2024

This is what I received:

Connect-HVServer : An error occurred while sending the request.
At line:1 char:1

  • Connect-HVServer -Server ss-connsvr01.sslab.ca -Credential (Get-Crede ...
  •   + CategoryInfo          : NotSpecified: (:) [Connect-HVServer], Exception
      + FullyQualifiedErrorId : System.Exception,VMware.VimAutomation.HorizonView.Commands.Cmdlets.ConnectHVServer
    

from asbuiltreport.vmware.horizon.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.