Skip to content

Commit 39fb4eb

Browse files
committed
Added handling for maps table data
1 parent 24e0af4 commit 39fb4eb

File tree

4 files changed

+3
-1
lines changed

4 files changed

+3
-1
lines changed

prtgshell2.dll

0 Bytes
Binary file not shown.

prtgshell2.psd1

1.34 KB
Binary file not shown.

prtgshell2.psm1

86 Bytes
Binary file not shown.

src/cmdlets/Get-PrtgTableData.ps1

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function Get-PrtgTableData {
4444
[CmdletBinding()]
4545
Param (
4646
[Parameter(Mandatory=$True,Position=0)]
47-
[ValidateSet("probes","groups","devices","sensors","todos","messages","values","channels","history")]
47+
[ValidateSet("probes","groups","devices","sensors","todos","messages","values","channels","history","maps")]
4848
[string]$Content,
4949

5050
[Parameter(Mandatory=$false,Position=1)]
@@ -160,6 +160,8 @@ function Get-PrtgTableData {
160160
"storedreports" = @("objid","name","datetime","size")
161161

162162
"reports" = @("objid","name","template","period","schedule","email","lastrun","nextrun")
163+
164+
"maps" = @("objid","name")
163165
}
164166

165167
$SelectedColumns = $TableLookups.$Content

0 commit comments

Comments
 (0)