Skip to content

Commit

Permalink
Update _index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
caseywatson authored Jul 26, 2024
1 parent b91927b commit cc9a16c
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/content/tools/collector/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,33 @@ application==demoapp1
```
**Note**: In a configuration file we separate multiple entries for a filter by new lines. Where as, from the command line we would pass multiple subscriptions or resource groups using the "string1","string2" pattern. The configuration file is useful for repeated runs, or numerous filters where it may be difficult to troubleshoot syntax in the command line.

### Runbook Example

> Learn more about runbooks [here](runbooks.md).
Run a runbook.

```powershell
.\1_wara_collector.ps1 `
-TenantID "00000000-0000-0000-0000-000000000000" `
-SubscriptionIds "/subscriptions/00000000-0000-0000-0000-000000000000" `
-RunbookFile ".\runbook.json"
```

Run a runbook using implicit runbook selectors.

```powershell
.\1_wara_collector.ps1 `
-TenantID "00000000-0000-0000-0000-000000000000" `
-SubscriptionIds "/subscriptions/00000000-0000-0000-0000-000000000000" `
-RunbookFile ".\runbook.json"
-UseImplicitRunbookSelectors
```

> Note that -SubscriptionIds are required when using a runbook.
Run a runbook

## Parameters

### Debugging
Expand Down

0 comments on commit cc9a16c

Please sign in to comment.