Summary
This article helps troubleshoot retrieving data from your vCenter.
Synopsis
You are having trouble retrieving data from your vCenter for Spider.
Discussion
- Check if the required Ad Domain Services are installed
Get-WindowsFeature -Name AD-Domain-Services
![](https://resources.flexera.com/web/sfdc/1b79077e-44b7-43f9-92f3-2b0b9b1a7b10.jpg)
- Enter the Credentials you want to connect to (if you are trying to connect to a different domain than the computer you are running it is joined to)
$cred = Get-Credential
This will open the following dialog
- Get AD Users from the specified domain (again if you are trying to connect to a different domain than the computer you are running it is joined to)
$users = Get-ADUser -Server '<FQDN>' -Credential $cred -Filter '(ObjectClass -eq "user")'
If you are connecting to the own domain the -Server and -Credential flag have to be omitted:
$users = Get-ADUser -Filter '(ObjectClass -eq "user")'
- To show the content of the $users variable just run
$users
Whenever you get a PowerShell error, examine and solve it
Additional Information
Products
SWR6