Skip to content

Commit 3b5ec18

Browse files
committed
Docs
1 parent 3029d7d commit 3b5ec18

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+1283
-1
lines changed

Generate-CmdletDocs.ps1

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
$cmdlets = Get-Command -Module UiPath.PowerShell | select Name
3+
4+
$file = "docs\Home.md"
5+
"" | Out-File $file -Encoding utf8
6+
foreach($cmdlet in $cmdlets)
7+
{
8+
"[$($cmdlet.Name)]($($cmdlet.Name).md)" | Out-File $file -Encoding utf8 -Append
9+
}
10+
11+
foreach($cmdlet in $cmdlets)
12+
{
13+
$file = "docs\$($cmdlet.Name).md"
14+
"``````PowerShell" | Out-File $file -Encoding utf8
15+
Get-Help $cmdlet.Name | Out-File $file -Encoding utf8 -Append
16+
"``````" | Out-File $file -Encoding utf8 -Append
17+
}

LICENSE renamed to LICENSE.md

File renamed without changes.

README.md

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,52 @@
11
# UiPath Orchestrator PowerShell library
22

3-
A PowerShell library for interacting with UiPath Orchestrator.
3+
A PowerShell library for interacting with [UiPath Orchestrator](https://orchestrator.uipath.com/).
4+
5+
# Getting Started
6+
7+
Build solution to obtain the `UiPath.PowerShell.dll` module. Import the module in PowerShell:
8+
9+
```PowerShell
10+
PS C:\>Import-Module UiPath.PowerShell.dll
11+
```
12+
13+
Use the PowerShell `Get-Command` to obtain all cmdlets exported by the module:
14+
15+
```PowerShell
16+
PS C:\>Get-Help -Module UiPath.PowerShell
17+
```
18+
19+
You can obtain each command syntax using PowerShell's own `Get-Help`:
20+
21+
```PowerShell
22+
PS C:\>Get-Help Add-UiPathRobot
23+
```
24+
25+
To start using the library, you need to connect first to a running Orchestrator instance. Use the [`Get-UiPathAuthToken`](docs/Get-UiPathAuthToken.md) cmdlet:
26+
```PowerShell
27+
PS C:\>Get-UiPathAuthToken -URL <orchestratorurl> -Username <OrchestratorUser> -Password <password> -Session
28+
```
29+
30+
The `-Session` flag makes the authentication persist on the PowerShell session for up to 30 minutes. After this you will not have to authenticate again each cmdlet. Some examples:
31+
32+
```PowerShell
33+
S C:\> Get-UiPathRobot | Format-Table
34+
35+
Id LicenseKey MachineName Name Description
36+
-- ---------- ----------- ---- -----------
37+
38+
132 RERUSANU PwdRobot1
39+
133 RERUSANU PwdRobot2
40+
134 RERUSANU PwdRobot3
41+
```
42+
43+
For more example, see the [docs](docs/Home.md)
44+
45+
# Prerequisites
46+
47+
To build the project, In addition to the C# SDK (the solution is Visual Studio 2017 based) you will need [autorest](https://github.com/Azure/autorest).
48+
To use the library you won't need anything but the build artifacts.
49+
50+
# License
51+
52+
This project is copyright [UiPath INC](https://uipath.com) and licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.

UiPath.Orchestrator.Powershell.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UiPath.PowerShell", "UiPath
99
EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{5B414573-14ED-4BCC-AE35-FE9F6173BE86}"
1111
ProjectSection(SolutionItems) = preProject
12+
LICENSE.md = LICENSE.md
1213
README.md = README.md
1314
EndProjectSection
1415
EndProject

docs/Add-UiPathAsset.md

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathAsset
5+
6+
SYNOPSIS
7+
Adds an Asset into Orchestrator
8+
9+
10+
SYNTAX
11+
Add-UiPathAsset [-Name] <string> -TextValue <string> [-AuthToken <AuthToken>] [<CommonParameters>]
12+
13+
Add-UiPathAsset [-Name] <string> -IntValue <int> [-AuthToken <AuthToken>] [<CommonParameters>]
14+
15+
Add-UiPathAsset [-Name] <string> -DBConnectionString <string> [-AuthToken <AuthToken>] [<CommonParameters>]
16+
17+
Add-UiPathAsset [-Name] <string> -HttpConnectionString <string> [-AuthToken <AuthToken>] [<CommonParameters>]
18+
19+
Add-UiPathAsset [-Name] <string> -BoolValue <bool> [-AuthToken <AuthToken>] [<CommonParameters>]
20+
21+
Add-UiPathAsset [-Name] <string> -KeyValueList <Hashtable> [-AuthToken <AuthToken>] [<CommonParameters>]
22+
23+
Add-UiPathAsset [-Name] <string> -WindowsCredential <PSCredential> [-AuthToken <AuthToken>] [<CommonParameters>]
24+
25+
Add-UiPathAsset [-Name] <string> -Credential <PSCredential> [-AuthToken <AuthToken>] [<CommonParameters>]
26+
27+
Add-UiPathAsset [-Name] <string> -RobotValues <Hashtable> -ValueType <string> [-AuthToken <AuthToken>]
28+
[<CommonParameters>]
29+
30+
31+
DESCRIPTION
32+
This cmdlet can add global asset value or per-robot asset values.
33+
34+
35+
RELATED LINKS
36+
37+
REMARKS
38+
To see the examples, type: "get-help Add-UiPathAsset -examples".
39+
For more information, type: "get-help Add-UiPathAsset -detailed".
40+
For technical information, type: "get-help Add-UiPathAsset -full".
41+
42+
43+
44+
```

docs/Add-UiPathEnvironment.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathEnvironment
5+
6+
SYNOPSIS
7+
8+
9+
SYNTAX
10+
Add-UiPathEnvironment -Name <string> [-AuthToken <AuthToken>] [-Description <string>] [-Type <string>]
11+
[<CommonParameters>]
12+
13+
14+
DESCRIPTION
15+
16+
17+
RELATED LINKS
18+
19+
REMARKS
20+
To see the examples, type: "get-help Add-UiPathEnvironment -examples".
21+
For more information, type: "get-help Add-UiPathEnvironment -detailed".
22+
For technical information, type: "get-help Add-UiPathEnvironment -full".
23+
24+
25+
26+
```

docs/Add-UiPathEnvironmentRobot.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathEnvironmentRobot
5+
6+
SYNOPSIS
7+
8+
9+
SYNTAX
10+
Add-UiPathEnvironmentRobot -Environment <Environment> -Robot <Robot> [-AuthToken <AuthToken>] [<CommonParameters>]
11+
12+
13+
DESCRIPTION
14+
15+
16+
RELATED LINKS
17+
18+
REMARKS
19+
To see the examples, type: "get-help Add-UiPathEnvironmentRobot -examples".
20+
For more information, type: "get-help Add-UiPathEnvironmentRobot -detailed".
21+
For technical information, type: "get-help Add-UiPathEnvironmentRobot -full".
22+
23+
24+
25+
```

docs/Add-UiPathPackage.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathPackage
5+
6+
SYNOPSIS
7+
8+
9+
SYNTAX
10+
Add-UiPathPackage [-PackageFile] <string> [-AuthToken <AuthToken>] [<CommonParameters>]
11+
12+
13+
DESCRIPTION
14+
15+
16+
RELATED LINKS
17+
18+
REMARKS
19+
To see the examples, type: "get-help Add-UiPathPackage -examples".
20+
For more information, type: "get-help Add-UiPathPackage -detailed".
21+
For technical information, type: "get-help Add-UiPathPackage -full".
22+
23+
24+
25+
```

docs/Add-UiPathProcess.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathProcess
5+
6+
SYNOPSIS
7+
8+
9+
SYNTAX
10+
Add-UiPathProcess -Name <string> [-AuthToken <AuthToken>] [-Description <string>] [-Environment <Environment>]
11+
[-EnvironmentId <long>] [-Package <Package>] [-PackageId <string>] [-PackageVersion <string>] [<CommonParameters>]
12+
13+
14+
DESCRIPTION
15+
16+
17+
RELATED LINKS
18+
19+
REMARKS
20+
To see the examples, type: "get-help Add-UiPathProcess -examples".
21+
For more information, type: "get-help Add-UiPathProcess -detailed".
22+
For technical information, type: "get-help Add-UiPathProcess -full".
23+
24+
25+
26+
```

docs/Add-UiPathQueuItem.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
```PowerShell
2+
3+
NAME
4+
Add-UiPathQueuItem
5+
6+
SYNOPSIS
7+
8+
9+
SYNTAX
10+
Add-UiPathQueuItem -QueueName <string> [-AuthToken <AuthToken>] [-DeferDate <DateTime>] [-DueDate <DateTime>]
11+
[-Priority <string>] [-Reference <string>] [-SpecificContent <Hashtable>] [<CommonParameters>]
12+
13+
14+
DESCRIPTION
15+
16+
17+
RELATED LINKS
18+
19+
REMARKS
20+
To see the examples, type: "get-help Add-UiPathQueuItem -examples".
21+
For more information, type: "get-help Add-UiPathQueuItem -detailed".
22+
For technical information, type: "get-help Add-UiPathQueuItem -full".
23+
24+
25+
26+
```

0 commit comments

Comments
 (0)