0 votes

Hello,

I don't find an attribute for the netbios name of managed Domains like adm-DomainDN? How can I add the NetBios name to a report like "All users"?

regards Helmut

by (510 points)
0

Hello Helmut,

If you need to add the domain (e.g. company.com) to the report, you need to use the Domain column. The column should be added to the default columns list. image.png If this is not what you need, please, provide all the possible details regarding the desired report with live examples.

0

Hello,

this will give us the DNS name of the domain. What I asked was the NetBIOS name of a domain or object. In powershell, I can query it with following sample code (but only for the current Computer or User):

(Get-ADDomain).NetBIOSName
(Get-ADDomain -Current LocalComputer).NetBIOSName
(Get-ADDomain -Current LoggedOnUser).NetBIOSName

In some of our managed Domains, DNS and NetBIOS names are slightly different like:

DNS: company.com NetBIOS: COMP

regards Helmut

1 Answer

0 votes
by (272k points)

Hello Helmut,

Thank you for clarifying. You can add the value to the report using custom column and a PowerShell script. To do so:

  1. Launch Adaxes Administration console.
  2. In the Console Tree, expand your service node.
  3. Navigate to Reports\All Reports\Users and right-click the All users report.
  4. In the context menu, click Edit. image.png
  5. Activate the Columns tab.
  6. In the Report-specific columns section, click Add. image.png
  7. Specify a column name.
  8. Select the Text type and click Next. image.png
  9. Paste the below script into the Script field.
Import-Module ActiveDirectory

$domain = Get-ADDomain -Identity "%adm-DomainDN%"
$Context.Value = $domain.NetBIOSName
  1. Click Finish and then click OK.

For the script to work, you will need to install the ActiveDirectory PowerShell module on the computer where Adaxes service runs. If you have multiple instances of Adaxes service sharing common configuration, install the module on each of the computers.

Related questions

0 votes
1 answer

Is there a way to get the name of the user who approved a request and supply that to a step inside of a custom command? For example, HR submits a status change for an employee. ... and pass it as a param in a custom command that is called in one of the steps?

asked May 12, 2021 by davfount90 (20 points)
0 votes
1 answer

I am trying to trigger processing outside of Active Directory when an account is created based on the source user account that was used. Does Adaxes store the source account anywhere?

asked Oct 9, 2023 by jnordell (20 points)
0 votes
1 answer

Hi, We are in process of implementing the User Creation/Deletion & Add/Remove Users to Group. We have been using the Canonical name ... /errorMessage> </addResponse> </ProcessRequestResult> </ProcessRequestResponse> Thanks, Aravindh

asked Nov 20, 2018 by Aravindh (100 points)
0 votes
1 answer

Using the powershell module, I know how to create a scheduled task, and also how to bind to a scheduled task that is already known. I also have used code to try creating ... same time as another. These are all one-time tasks and will be removed once executed.

asked Jan 19 by aweight (40 points)
0 votes
1 answer

If the user name submitted is "jhon doe" all of the users properties will be lower case. We want it to force it to be "Jhon Doe" even if it was submitted in lower case.

asked Aug 31, 2022 by raul.ramirez (210 points)
3,342 questions
3,043 answers
7,765 comments
544,932 users