Can you please let me know if we have a way to parse the output from PowerShell step. In my case I am getting the group members details with three attributes. Output is returned as a string, I wrote some custom script to parse. Doesn't work well for all the cases.
@AshutoshMunot3 жыл бұрын
Yes we can do that. I need more information on this. if you provide then i can help
@SanthoshKumar-xx4bq3 жыл бұрын
@@AshutoshMunot Thanks for your reply. Please find the sample output that I receive from the Power Shell step. I tried to parse this using custom script but I couldn't identify a pattern to do that. name samaccountname distinguishedname ---- -------------- ----------------- Administrator Administrator CN=Administrator,CN=Users,DC=win,DC=Test,DC=com Test ABC - TestAcct ent-test CN=Test ABC - TestAcct,OU=Admin,OU=Users,OU=Test,DC=win,DC=Test,DC=com Daniel User - TestAcct ent-daniel CN=Daniel User - EntAcct,OU=Admin,OU=Users,OU=Test,DC=win,DC=Test,DC=com Joshua User - TestAcct ent-jdepreste CN=Joshua User - EntAcct,OU=Admin,OU=Users,OU=Test,DC=win,DC=Test,DC=com name, samaccountname, distinguishedname is the three attributes of the user account that I have mentioned in my previous comment.
@abhishekakkatangerhal78872 жыл бұрын
I'm passing a unencrypted value into a password 2 type variable of action input through a script. it does update the on prem AD using PowerShell(i can verify when passwordlastset on AD) but just not the password i set. but when i pass encrypted password(using GlideEncrypter()), i get authentication error. any idea how to pass values into password 2 field ?
@dnyandeonarkhede1365 Жыл бұрын
Hello Ashutosh, I have one task. Can you make one video on how to start, stop and restart windows service from ServiceNow using flow designer
@dnyandeonarkhede1365 Жыл бұрын
You need to start, stop and restart windows service by ordering catalog item. And variables are one drop down is there in the if user select start then windows service need to start and same for stop and restart.
@dipamkalita31274 жыл бұрын
What if i need to start/stop a service that is hosted by our mid server? How to achieve that by flow designer?
@AshutoshMunot4 жыл бұрын
We can use a PowerShell script to do that. You can use PS action step to do that.
@shidharthak5344 жыл бұрын
to get the Integration Hub subscription what steps i need to follow
@AshutoshMunot4 жыл бұрын
Contact your servicenow account manager for client instance.