0 votes

Dear Support,
I have a PS script, which as result has a DataTable of assets assigned to user in external system.
I would like to show this data in Web interface - so a script based report was my first thought.
Can you please advise how to properly show the DataTable in script based report?

Thank you!

by (850 points)

1 Answer

0 votes
by (233k points)
selected by
Best answer

Hello Dmytro,

You can connect to the external system in your script, get information from the DataTable and then add the information to corresponding report custom columns. For information on how to work with DataTables, you can check the following Microsoft article: https://docs.microsoft.com/en-us/dotnet ... mework-4.8. For details on creating reports, have a look at the following tutorial: https://www.adaxes.com/tutorials_Active ... Report.htm. The following part of the tutorial shows different approaches for adding items to reports: https://www.adaxes.com/tutorials_Active ... #collapse5.

Related questions

0 votes
1 answer

We would like to use the "Rule Based Groups" functionality that Adaxes has to create distribution groups where we have one group per manager and the members are the user ... so that the link doesn't break when changes happend to the managers AD object?

asked Oct 27, 2021 by odsven (1.8k points)
0 votes
1 answer

We have the following script we need fixed to run within Adaxes to add true/false value to a customattribute for use in building dynamic distribution lists. $users = ... } else { Set-Mailbox -Identity $user.Name -CustomAttribute8 "Individual contributor" } }

asked Jul 13 by willy-wally (3.2k points)
0 votes
1 answer

Hi smart people! I'm using this script: http://www.adaxes.com/script-repository ... t-s423.htm Which works great for sending an email to someone, listing their direct ... body of the email at once would be greatly appreciated! Thanks for any and all replies!

asked Mar 24, 2017 by 3Jake (150 points)
0 votes
1 answer

Receive "Index operation failed; the array index evaluated to null. Stack trace: at <ScriptBlock>, <No file>: line 104>" and "Index operation failed; the ... $GroupName, $GroupDN." } } #foreach write-output "" Write-Output "" Stop-Transcript

asked Apr 14 by jbahou (20 points)
0 votes
1 answer

I need to setup the below Report for Inactive Internal Users accross all domains in the same OU path on all domians Enabled accounts that have not logged in for the last 30 ... OU path Enable accounts that have not logged in for more than 30 days or more

asked Nov 14 by dtorannini (60 points)
2,884 questions
2,604 answers
6,762 comments
119,194 users