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 (272k 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

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)
0 votes
1 answer

I have people stating they never received the approval notifications. I know how to add multiple approvers to a Send for Approval command, but that sends a email to a second " ... do I send a duplicate email or CC another user on ALL outbound emails? Thanks!

asked Oct 24, 2012 by mpaul (360 points)
3,346 questions
3,047 answers
7,782 comments
544,982 users