79
Views
1
Comments
[Powershell Commander] Run Powershell in Outsystems to retrieve Microsoft Active Directory Data
powershell-commander
Web icon
Forge asset by Danny Prager
Application Type
Reactive
Service Studio Version
11.50.19 (Build 53358)
Platform Version
11.15.0 (Build 33590)

Hello everyone. I got a project that requires me to get the list of users from our company's Microsoft Active Directory and use the data in our Outsystems app. I was able to figure out a way to get the said list using Powershell but my problem is connecting or integrating it to Outsystems. I've read questions like mine in the forums and I was able to find a suggestion that tells me to use the Powershell commander forge component. I tried it out but when I try to run the exact command I used, it shows me this error This is the command I am trying to run:


If I run the command above using just Powershell, it works perfectly fine and shows me the full list of employees. What do you guys think? Thanks in advance.

2018-11-07 11-25-34
Danny Prager

Poerwhell uses librarries / modules that are installed on the server. You could user powershell to retrieve email from outlook for example (that does require outlook to be installed) The same goes for active directory data. Please follow the steps in below mentioned post.


https://stackoverflow.com/questions/17548523/the-term-get-aduser-is-not-recognized-as-the-name-of-a-cmdlet/22817501

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.