@@ -6,6 +6,15 @@ Contains code samples to invoke NetBackup REST API using different programming l
66These scripts are only meant to be used as a reference. Please do not use these in production.
77
88#### Executing the snippets for different programming languages
9+ #### Executing the snippets in PowerShell
10+ Pre-requisites:
11+ - NetBackup 8.1.1 or higher
12+ - Powershell 5.0 or higher
13+
14+ Use the following commands to run the powershell samples.
15+ - ` .\Get-NB-Images.ps1 -nbmaster <masterServer> -username <username> -password <password> `
16+ - ` .\Get-NB-Jobs.ps1 -nbmaster <masterServer> -username <username> -password <password> `
17+ - ` .\New-Policy-StepByStep.ps1 -nbmaster <masterServer> -username <username> -password <password> `
918
1019The ` snippets ` folder contains code samples to invoke NetBackup REST API using different programming languages.
1120
@@ -17,3 +26,15 @@ Pre-requisites:
1726The ` tools ` folder contains utilities that have proven useful in the development of projects using
1827NetBackup REST APIs, but do not provide any API usage examples. Again, these tools are not for
1928production use, but they may be of some use in your work.
29+
30+ Use the following commands to run the curl samples.
31+ - ` ./get_nb_jobs.sh -master <master_server> -username <username> -password <password> `
32+ - ` ./get_nb_images.sh -master <master_server> -username <username> -password <password> `
33+
34+ #### Executing the snippets using go
35+ Pre-requisites:
36+ - NetBackup 8.1.1 or higher
37+ - go1.10.2 or higher
38+
39+ Use the following commands to run the go samples.
40+ - ` go run ./create_policy_step_by_step.go -nbmaster <master_server> -username <username> -password <password> `
0 commit comments