Skip to content

Commit 43038a3

Browse files
committed
update synopsis
update synopsis
1 parent 4e81ef1 commit 43038a3

File tree

3 files changed

+47
-0
lines changed

3 files changed

+47
-0
lines changed

Public/Get-LMNormalizedProperties.ps1

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
<#
2+
.SYNOPSIS
3+
Gets normalized property mappings that allow standardizing property names across your LogicMonitor environment.
4+
5+
.DESCRIPTION
6+
The Get-LMNormalizedProperties cmdlet retrieves normalized properties from LogicMonitor. Currently only supports the v4 API.
7+
8+
.EXAMPLE
9+
PS C:\> Get-LMNormalizedProperties
10+
Retrieves all normalized properties.
11+
#>
112
Function Get-LMNormalizedProperties {
213

314
[CmdletBinding()]

Public/New-LMNormalizedProperties.ps1

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,25 @@
1+
<#
2+
.SYNOPSIS
3+
Creates normalized properties in LogicMonitor.
4+
5+
.DESCRIPTION
6+
The New-LMNormalizedProperties cmdlet creates normalized properties in LogicMonitor. Normalized properties allow you to map multiple host properties to a single alias that can be used across your environment.
7+
8+
.PARAMETER Alias
9+
The alias name for the normalized property.
10+
11+
.PARAMETER Properties
12+
An array of host property names to map to the alias.
13+
14+
.EXAMPLE
15+
PS C:\> New-LMNormalizedProperties -Alias "location" -Properties @("location", "snmp.sysLocation", "auto.meraki.location")
16+
Creates a normalized property with alias "location" mapped to multiple source properties.
17+
18+
.NOTES
19+
Requires valid LogicMonitor API credentials set via Connect-LMAccount.
20+
This cmdlet uses LogicMonitor API v4.
21+
#>
22+
123
Function New-LMNormalizedProperties {
224

325
[CmdletBinding()]

Public/Remove-LMNormalizedProperties.ps1

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
<#
2+
.SYNOPSIS
3+
Removes normalized properties from LogicMonitor.
4+
5+
.DESCRIPTION
6+
The Remove-LMNormalizedProperties cmdlet removes normalized properties from LogicMonitor.
7+
8+
.PARAMETER Alias
9+
The alias name of the normalized property to remove.
10+
11+
.EXAMPLE
12+
PS C:\> Remove-LMNormalizedProperties -Alias "location"
13+
Removes the normalized property with alias "location".
14+
#>
115
Function Remove-LMNormalizedProperties {
216

317
[CmdletBinding()]

0 commit comments

Comments
 (0)