Part 1: uipathcli - Getting started!
Ashok Karale
UiPath MVP 2025 | Technical Lead at Wipro Ltd. | UiPath Solution Architect | RPA Enthusiast
Imagine you have a magical wand that lets you talk directly to your UiPath Orchestrator and make it do all the cool UiPath stuff without even opening the Orchestrator. That wand is called UiPath CLI! It's been here since log time but mainly used in CICD/Devops tasks. UiPath recently released v2.0 of uipathcli with more features. Here is the release note: https://forum.uipath.com/t/uipathcli-v2-0-has-been-released/870701?u=ashokkarale
What is UiPath CLI?
In simple terms, uipathcli is like having a powerful remote control for your UiPath Orchestrator. Instead of clicking through menus, you can type commands in a special window (called the command line) to make things happen. It's like texting your computer instructions! In technical terms, it is a command line interface to simplify, script and automate API calls for UiPath services and works on Windows, Linux and MacOS.
Why Should You Use It?
Speedy Automation: Imagine being able to start, stop, or check on your automation processes with just a few keystrokes. It saves you loads of time!
For example: This line of code will stop a job. That's cool! ??
uipath orchestrator jobs stop --job-id 5678
Secure Access: With 3 options to authenticate, Client Credentials, OAuth Login, Personal Access Token, you can securely access UiPath services and make sure only you and your trusted team members can use these super powers.
Discover and Learn: It's easier than ever to discover what UiPath can do. With built-in help commands, you can quickly learn the ropes without feeling lost. [I was able to go from zero to one in a day]
Cross-Platform Superpowers: Whether you're on Windows, Mac, or Linux, uipathcli works everywhere. It's like having a superhero cape that fits all sizes (read Operating Systems here ??)!
领英推荐
Any Real-Life Scenario?
There are so many, but here is one for understanding it more easily.
The production support team wants to monitor and ensure the smooth operation of all scheduled automation bots for the day. They need to know which bots are going to run today and in their shift, so they can be prepared to handle any issues promptly.
In current scenario, to get this data from the Orchestrator, there is no easy solution??
This becomes challenging with the number of triggers increases.
uipathcli as a solution here, we will develop a PowerShell script which will will connect with the Orchestrator, get the triggers scheduled for today and save in a CSV file. These all steps in a single click and on any machine. ??
Excited enough to dive in and get your hands dirty? Stay tuned! In the next two articles of this series, I'll walk you through everything—from downloading and installing uipathcli to writing and executing scripts. Don't miss out on mastering this powerful tools!
Feel free to connect, share your thoughts. ??
UiPath Professional and Specialized AI Certified | 15x UiPath Community Forum Awardee
1 个月Helpful insights, waiting to make our hands dirty with more knowledge sharing Ashok Karale ??