Hi there, I’m new on UD.
I have already a PowerShell script that gets all the users from an AD and returns them in JSON.
I am looking how to call the existing PS (Get-ADUser.ps1) via RestAPI.
Can anyone give me any help?
Thanks.
Hi there, I’m new on UD.
I have already a PowerShell script that gets all the users from an AD and returns them in JSON.
I am looking how to call the existing PS (Get-ADUser.ps1) via RestAPI.
Can anyone give me any help?
Thanks.
Hi @italia.digitale.eu
How far along have you gotten?
I’d reccomend watching @adam’s youtube video for creating a dashboard.
https://docs.universaldashboard.io/rest-apis
Shout if you need any guidance!
Thanks, for your reply.
I found out that, generally speaking, if you already have some PowerShell script that now you want call now via a rest API endpoint the best way is to include the code in -Endpoint {} and if, like my case, you have the response was a JSON it works fine.