Skip to content

Commit e762ce6

Browse files
committed
6.6 release
1 parent a919d54 commit e762ce6

36 files changed

+5651
-951
lines changed

Documentation/Connect-LMAccount.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Accept wildcard characters: False
171171
```
172172
173173
### -DisableConsoleLogging
174-
Disables on stdout messages from displaying for any subsequent commands are run.
174+
Disables on info messages from displaying for any subsequent commands are run.
175175
Useful when building scripted logicmodules and you want to suppress unwanted output.
176176
Console logging is enabled by default.
177177

Documentation/Copy-LMDashboard.md

Lines changed: 31 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ Copies a LogicMonitor dashboard to a new dashboard.
1414

1515
### GroupName-Id
1616
```
17-
Copy-LMDashboard -Name <String> -DashboardId <String> [-Description <String>] -ParentGroupName <String>
18-
[-ProgressAction <ActionPreference>] [<CommonParameters>]
17+
Copy-LMDashboard -Name <String> -DashboardId <String> [-Description <String>] [-DashboardTokens <Hashtable>]
18+
-ParentGroupName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
1919
```
2020

2121
### GroupId-Id
2222
```
23-
Copy-LMDashboard -Name <String> -DashboardId <String> [-Description <String>] -ParentGroupId <Int32>
24-
[-ProgressAction <ActionPreference>] [<CommonParameters>]
23+
Copy-LMDashboard -Name <String> -DashboardId <String> [-Description <String>] [-DashboardTokens <Hashtable>]
24+
-ParentGroupId <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]
2525
```
2626

2727
### GroupName-Name
2828
```
29-
Copy-LMDashboard -Name <String> -DashboardName <String> [-Description <String>] -ParentGroupName <String>
30-
[-ProgressAction <ActionPreference>] [<CommonParameters>]
29+
Copy-LMDashboard -Name <String> -DashboardName <String> [-Description <String>] [-DashboardTokens <Hashtable>]
30+
-ParentGroupName <String> [-ProgressAction <ActionPreference>] [<CommonParameters>]
3131
```
3232

3333
### GroupId-Name
3434
```
35-
Copy-LMDashboard -Name <String> -DashboardName <String> [-Description <String>] -ParentGroupId <Int32>
36-
[-ProgressAction <ActionPreference>] [<CommonParameters>]
35+
Copy-LMDashboard -Name <String> -DashboardName <String> [-Description <String>] [-DashboardTokens <Hashtable>]
36+
-ParentGroupId <Int32> [-ProgressAction <ActionPreference>] [<CommonParameters>]
3737
```
3838

3939
## DESCRIPTION
@@ -55,6 +55,12 @@ Copy-LMDashboard -Name "New Dashboard" -DashboardName "Old Dashboard" -ParentGro
5555
Copies the dashboard named "Old Dashboard" to a new dashboard named "New Dashboard" in the group named "Group A".
5656
```
5757

58+
### EXAMPLE 3
59+
```
60+
Copy-LMDashboard -Name "New Dashboard" -DashboardName "Old Dashboard" -ParentGroupName "Group A" -DashboardTokens @{ "defaultResourceName" = "Value1"; "defaultResourceGroup" = "Value2" }
61+
Copies the dashboard named "Old Dashboard" to a new dashboard named "New Dashboard" in the group named "Group A", replacing the tokens "defaultResourceName" with "Value1" and "defaultResourceGroup" with "Value2".
62+
```
63+
5864
## PARAMETERS
5965

6066
### -Name
@@ -119,6 +125,23 @@ Accept pipeline input: False
119125
Accept wildcard characters: False
120126
```
121127
128+
### -DashboardTokens
129+
A hashtable of tokens to be replaced in the dashboard.
130+
The key is the token name and the value is the new value.
131+
If not provided, the tokens from the source dashboard will be used.
132+
133+
```yaml
134+
Type: Hashtable
135+
Parameter Sets: (All)
136+
Aliases:
137+
138+
Required: False
139+
Position: Named
140+
Default value: None
141+
Accept pipeline input: False
142+
Accept wildcard characters: False
143+
```
144+
122145
### -ParentGroupId
123146
The ID of the parent group for the new dashboard.
124147
This parameter is mandatory when using the 'GroupId-Id' or 'GroupId-Name' parameter sets.

Documentation/Copy-LMReport.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ It takes the following parameters:
3030
### EXAMPLE 1
3131
```
3232
Copy-LMReport -Name "Report1" -Description "This is a sample report" -ParentGroupId "12345" -ReportObject $reportObject
33-
```
34-
3533
This example copies the report specified by the ReportObject parameter and sets the name, description, and parent group ID.
34+
```
3635

3736
## PARAMETERS
3837

@@ -83,6 +82,8 @@ Accept wildcard characters: False
8382
8483
### -ReportObject
8584
The report object to be copied.
85+
This can be retrieved using Get-LMReport.
86+
Any changes to the report object will be reflected in the new report.
8687
8788
```yaml
8889
Type: Object

Documentation/Get-LMAlert.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ Aliases:
215215

216216
Required: False
217217
Position: Named
218-
Default value: ResourceId
218+
Default value: +resourceId
219219
Accept pipeline input: False
220220
Accept wildcard characters: False
221221
```

Documentation/Get-LMLogMessage.md

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
---
2+
external help file: Logic.Monitor-help.xml
3+
Module Name: Logic.Monitor
4+
online version:
5+
schema: 2.0.0
6+
---
7+
8+
# Get-LMLogMessage
9+
10+
## SYNOPSIS
11+
{{ Fill in the Synopsis }}
12+
13+
## SYNTAX
14+
15+
### Range-Async (Default)
16+
```
17+
Get-LMLogMessage [-Query <String>] [-Range <String>] [-BatchSize <Int32>] [-MaxPages <Int32>] [-Async]
18+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
19+
```
20+
21+
### Date-Async
22+
```
23+
Get-LMLogMessage -StartDate <DateTime> -EndDate <DateTime> [-Query <String>] [-BatchSize <Int32>]
24+
[-MaxPages <Int32>] [-Async] [-ProgressAction <ActionPreference>] [<CommonParameters>]
25+
```
26+
27+
### Date-Sync
28+
```
29+
Get-LMLogMessage -StartDate <DateTime> -EndDate <DateTime> [-Query <String>] [-BatchSize <Int32>]
30+
[-ProgressAction <ActionPreference>] [<CommonParameters>]
31+
```
32+
33+
### Range-Sync
34+
```
35+
Get-LMLogMessage [-Query <String>] [-Range <String>] [-BatchSize <Int32>] [-ProgressAction <ActionPreference>]
36+
[<CommonParameters>]
37+
```
38+
39+
## DESCRIPTION
40+
{{ Fill in the Description }}
41+
42+
## EXAMPLES
43+
44+
### Example 1
45+
```powershell
46+
PS C:\> {{ Add example code here }}
47+
```
48+
49+
{{ Add example description here }}
50+
51+
## PARAMETERS
52+
53+
### -Async
54+
{{ Fill Async Description }}
55+
56+
```yaml
57+
Type: SwitchParameter
58+
Parameter Sets: Range-Async, Date-Async
59+
Aliases:
60+
61+
Required: False
62+
Position: Named
63+
Default value: None
64+
Accept pipeline input: False
65+
Accept wildcard characters: False
66+
```
67+
68+
### -BatchSize
69+
{{ Fill BatchSize Description }}
70+
71+
```yaml
72+
Type: Int32
73+
Parameter Sets: (All)
74+
Aliases:
75+
76+
Required: False
77+
Position: Named
78+
Default value: None
79+
Accept pipeline input: False
80+
Accept wildcard characters: False
81+
```
82+
83+
### -EndDate
84+
{{ Fill EndDate Description }}
85+
86+
```yaml
87+
Type: DateTime
88+
Parameter Sets: Date-Async, Date-Sync
89+
Aliases:
90+
91+
Required: True
92+
Position: Named
93+
Default value: None
94+
Accept pipeline input: False
95+
Accept wildcard characters: False
96+
```
97+
98+
### -MaxPages
99+
{{ Fill MaxPages Description }}
100+
101+
```yaml
102+
Type: Int32
103+
Parameter Sets: Range-Async, Date-Async
104+
Aliases:
105+
106+
Required: False
107+
Position: Named
108+
Default value: None
109+
Accept pipeline input: False
110+
Accept wildcard characters: False
111+
```
112+
113+
### -Query
114+
{{ Fill Query Description }}
115+
116+
```yaml
117+
Type: String
118+
Parameter Sets: (All)
119+
Aliases:
120+
121+
Required: False
122+
Position: Named
123+
Default value: None
124+
Accept pipeline input: False
125+
Accept wildcard characters: False
126+
```
127+
128+
### -Range
129+
{{ Fill Range Description }}
130+
131+
```yaml
132+
Type: String
133+
Parameter Sets: Range-Async, Range-Sync
134+
Aliases:
135+
Accepted values: 15min, 30min, 1hour, 3hour, 6hour, 12hour, 24hour, 3day, 7day, 1month
136+
137+
Required: False
138+
Position: Named
139+
Default value: None
140+
Accept pipeline input: False
141+
Accept wildcard characters: False
142+
```
143+
144+
### -StartDate
145+
{{ Fill StartDate Description }}
146+
147+
```yaml
148+
Type: DateTime
149+
Parameter Sets: Date-Async, Date-Sync
150+
Aliases:
151+
152+
Required: True
153+
Position: Named
154+
Default value: None
155+
Accept pipeline input: False
156+
Accept wildcard characters: False
157+
```
158+
159+
### -ProgressAction
160+
{{ Fill ProgressAction Description }}
161+
162+
```yaml
163+
Type: ActionPreference
164+
Parameter Sets: (All)
165+
Aliases: proga
166+
167+
Required: False
168+
Position: Named
169+
Default value: None
170+
Accept pipeline input: False
171+
Accept wildcard characters: False
172+
```
173+
174+
### CommonParameters
175+
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
176+
177+
## INPUTS
178+
179+
### None
180+
## OUTPUTS
181+
182+
### System.Object
183+
## NOTES
184+
185+
## RELATED LINKS

0 commit comments

Comments
 (0)