Comments (9)
I have sent you an email.
from asbuiltreport.vmware.horizon.
@rebelinux I will try an fix this prior to bugging you about the reports. Stay tuned!
from asbuiltreport.vmware.horizon.
Can you run the report with the -Verbose command and send me the output?
Regards,
from asbuiltreport.vmware.horizon.
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.
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.
Can you run the report with the -verbose option and send me the output to [email protected]?
from asbuiltreport.vmware.horizon.
Thanks. I have sent over an email with the details of the verbose report.
from asbuiltreport.vmware.horizon.
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.
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)
- The Administrators Users and Groups Details section show the last user processed HOT 2
- The Connection Server section under Domains has a misleading title HOT 2
- Fix code scanning alert - The variable 'esxhosts' is assigned but never used.
- Fix code scanning alert - The variable 'datastores' is assigned but never used.
- If no global groups exist error in running Access Groups
- Fix code scanning alert - The variable 'CertificateManagement' is assigned but never used.
- Fix code scanning alert - The cmdlet 'Get-AbrHRZDomains' uses a plural noun. A singular noun should be used instead.
- Fix code scanning alert - The cmdlet 'Get-AbrHRZFederationAccessGroups' uses a plural noun. A singular noun should be used ...
- Fix code scanning alert - The cmdlet 'Get-AbrHRZGlobalPolicies' uses a plural noun. A singular noun should be used instead.
- Fix code scanning alert - The cmdlet 'Get-AbrHRZMachines' uses a plural noun. A singular noun should be used instead.
- Fix code scanning alert - The cmdlet 'Get-AbrHRZSites' uses a plural noun. A singular noun should be used instead.
- Empty Rows when running on non-cloud pod horizon environment.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asbuiltreport.vmware.horizon.