Integration hub : how to create PowerShell step and make use of it in Flows.

  Рет қаралды 8,145

Ashutosh Munot

Ashutosh Munot

Күн бұрын

Пікірлер: 10
@SanthoshKumar-xx4bq
@SanthoshKumar-xx4bq 3 жыл бұрын
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.
@AshutoshMunot
@AshutoshMunot 3 жыл бұрын
Yes we can do that. I need more information on this. if you provide then i can help
@SanthoshKumar-xx4bq
@SanthoshKumar-xx4bq 3 жыл бұрын
@@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.
@abhishekakkatangerhal7887
@abhishekakkatangerhal7887 2 жыл бұрын
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
@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
@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.
@dipamkalita3127
@dipamkalita3127 4 жыл бұрын
What if i need to start/stop a service that is hosted by our mid server? How to achieve that by flow designer?
@AshutoshMunot
@AshutoshMunot 4 жыл бұрын
We can use a PowerShell script to do that. You can use PS action step to do that.
@shidharthak534
@shidharthak534 4 жыл бұрын
to get the Integration Hub subscription what steps i need to follow
@AshutoshMunot
@AshutoshMunot 4 жыл бұрын
Contact your servicenow account manager for client instance.
How to create Custom Actions in Flow Designer in ServiceNow
16:43
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
ServiceNow Orchestration Demo
18:29
SNOW Planet Services
Рет қаралды 21 М.
Seven Ways Integration Hub Outperforms Scripted Integrations Video
6:33
ServiceNow Community
Рет қаралды 1,9 М.
ServiceNow Integration Hub - Microsoft AD Spoke
14:53
ServiceNow Talks
Рет қаралды 17 М.
ServiceNow Vancouver Feature : Spoke Generator
35:23
Ashutosh Munot
Рет қаралды 406
Custom Playbook Activities - Workflow Academy #04 (April 11th, 2024)
19:35
ServiceNow Community
Рет қаралды 3,3 М.
Microsoft Sharepoint spoke setup and testing
7:19
Ashutosh Munot
Рет қаралды 7 М.
Triggering Python using Powershell and a MID Server - Live Coding Happy Hour 2022/07/29
1:01:20
ServiceNow Flow Designer: Integration Hub + Spokes | ServiceNow Tutorial
6:21