0 votes

Hello

how is it possible to get the IPv4 address in "All Computers" report?

regards Helmut

by (510 points)

1 Answer

+1 vote
by (289k points)

Hello Helmut,

There is no AD property storing IP addresses of computers. The addresses can be added to the report only using a custom column generated by a script. To add the column:

  1. Launch Adaxes Administration console.
  2. In the Console Tree, expand your service node.
  3. Navigate to Reports\All Reports\Computers.
  4. Right-click the All Computers report and then click Edit in the context menu. image.png
  5. Activate the Columns tab.
  6. In the Report-specific columns section, click Add. image.png
  7. Specify a column name and click Next.
  8. In the Script field, paste the below script. image.png
# Get computer IP address
try
{
    $dNSHostName = $Context.GetADObject().Get("dNSHostName")
    $iPAddressToString = [System.Net.Dns]::GetHostAddresses($dNSHostName).IPAddressToString -join ";"
}
catch
{
    $iPAddressToString = $NULL
}

# Assign column value
$Context.Value = $iPAddressToString
  1. Click Finish and then click OK.

Related questions

0 votes
1 answer

I need to create a report of all enabled users in selected group or multiple groups. I am aware of the report named "Members of selected groups", but I don't know how to filter only enabled users. Is there a way to achieve this?

asked May 28 by gsoc.ssm (90 points)
0 votes
1 answer

Hi, we currenlty have a business rule to send an email everytime the Title, Manager, Department, accountExpires, EmployeeType or FirstName attributes are ... Unit: %BusinessUnit% End Date: %accountExpires% Effective Date of Change: %adm-CustomAttributeDate2%

asked Feb 14 by KevC (60 points)
0 votes
1 answer

For security purposes, we need to audit the objects that are capable of replicating the directory. As we have a number of individuals that need this report, I would like to ... four domains and would like to see any objects with this permission in any of them

asked May 20, 2022 by jiambor (1.2k points)
0 votes
0 answers

It would be great if we could run a report on an OU and get the following information: Computer Name Local Accounts Whether or not the account is an administrator ... this is less important. Thanks in advance. Your support team is great and appreciated.

asked Sep 8, 2021 by mikek (80 points)
0 votes
1 answer

Hello, I'm wondering if it's possible to export a list of all users in AD along with their email addresses to an Excel spreadsheet and then schedule that export to append ... address that wasn't previously used. Please let me know if this is possible. Thanks!

asked Apr 11 by sjjb2024 (60 points)
3,549 questions
3,240 answers
8,232 comments
547,823 users