0 votes

Hello

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

regards Helmut

by (450 points)

1 Answer

+1 vote
by (206k 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
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 by mikek (80 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 (350 points)
0 votes
1 answer

Hi We've had a request to forward to a mailbox any user who has had their username and email address changed, the email is to show old user name, new user name, old ... and email address, would it need to be a Powershell script for this? Thanks in advance.

asked Jan 23, 2015 by CBurn (700 points)
0 votes
1 answer

Topic question, we are looking into AD Auditing and I would like to know if this solution is on-prem. And I would like to know if there is a built in report to see ... to access folders they do not have permissions to, is this something I can do with Adaxes?

asked Jun 10 by anthonysmills (20 points)
0 votes
1 answer

I'd like to be able to either send an email report or export a CSV of all of the business rules carried out when a user is disabled. This would be ... Management Activity section but this includes things that weren't part of the disable operation. Thanks

asked Feb 19, 2020 by bavery (150 points)
2,552 questions
2,295 answers
6,122 comments
641,885 users