Windows PowerShell

Play with node-powershell!

#iHeartPowerShell

One of my colleague asked me a PowerShell script to query AD User information! Yes, I did your voice!

But, he asked “How will I do it in NODE JS with no AD Module?” Well! it’s too deep to discuss about node js! Anyways to make it simple I shared an app which  serves as a REST endpoint to query AD User information from any platforms like ASP.NET , NODE JS, PowerShell etc.

 

The PS script for User.PS1 is using ADSI 🙂 with a parameter for samaccountname which is named as GUID (A Friendly Name 🙂 )!

Spin your NODE and browse for the result!  REST URL : http://127.0.0.1:8081/ChenV

The RESTful continues! Happy PowerShell!

Leave a Reply

Your email address will not be published. Required fields are marked *