LogicMonitor PowerShell Documentation
LogicMonitor PowerShell Module
Section titled “LogicMonitor PowerShell Module”Welcome to the LogicMonitor PowerShell Module documentation. This module provides a comprehensive set of cmdlets for managing your LogicMonitor environment through PowerShell.
Categories
Section titled “Categories”Automations
Section titled “Automations”Commands for performing scripted automation activities on portal objects (devices, groups, dashboard, etc)
- copy-lmdevicepropertytodevice
- copy-lmdevicepropertytogroup
- import-lmdevicegroupsfromcsv
- import-lmdevicesfromcsv
- invoke-lmdevicededupe
Account management
Section titled “Account management”Commands for managing accounts and account groups
- connect-lmaccount
- disconnect-lmaccount
- get-lmaccountstatus
- get-lmcachedaccount
- new-lmcachedaccount
- remove-lmcachedaccount
Alert management
Section titled “Alert management”Commands for managing alerts and escalation chains
- get-lmalert
- get-lmalertrule
- get-lmescalationchain
- get-lmintegration
- get-lmintegrationlog
- get-lmrecipientgroup
- new-lmalertack
- new-lmalertescalation
- new-lmalertnote
- new-lmalertrule
- new-lmrecipientgroup
- remove-lmalertrule
- remove-lmescalationchain
- remove-lmintegration
- remove-lmrecipientgroup
- set-lmalertrule
- set-lmrecipientgroup
Devices
Section titled “Devices”Commands for managing devices, SDTs, properties, and network scanning
- copy-lmdevice
- export-lmdeviceconfigbackup
- export-lmdevicedata
- get-lmdevice
- get-lmdevicealert
- get-lmdevicealertsetting
- get-lmdeviceconfigsourcedata
- get-lmdevicedata
- get-lmdevicedatasourceinstance
- get-lmdevicedatasourceinstancealertrecipient
- get-lmdevicedatasourceinstancealertsetting
- get-lmdevicedatasourceinstancegroup
- get-lmdevicedatasourcelist
- get-lmdeviceeventsourcelist
- get-lmdeviceinstancedata
- get-lmdeviceinstancelist
- get-lmdevicenetflowendpoint
- get-lmdevicenetflowflow
- get-lmdevicenetflowport
- get-lmdeviceproperty
- get-lmdevicesdt
- get-lmdevicesdthistory
- get-lmrecentlydeleted
- invoke-lmdeviceconfigsourcecollection
- new-lmdevice
- new-lmdevicedatasourceinstance
- new-lmdevicedatasourceinstancegroup
- new-lmdevicedatasourceinstancesdt
- new-lmdevicedatasourcesdt
- new-lmdeviceproperty
- new-lmdevicesdt
- remove-lmdevice
- remove-lmdevicedatasourceinstance
- remove-lmdevicedatasourceinstancegroup
- remove-lmdeviceproperty
- remove-lmrecentlydeleted
- restore-lmrecentlydeleted
- set-lmdevice
- set-lmdevicedatasourceinstance
- set-lmdevicedatasourceinstancealertsetting
- set-lmdeviceproperty
Uptime
Section titled “Uptime”Commands for managing uptime devices and uptime web steps
- convertto-lmuptimedevice
- get-lmuptimedevice
- new-lmuptimedevice
- new-lmuptimewebstep
- remove-lmuptimedevice
- set-lmuptimedevice
Services
Section titled “Services”Commands for viewing services and service members
- get-lmservice
- get-lmservicemember
- get-lmservicetemplate
- new-lmservicegroup
- new-lmservicetemplate
- remove-lmservicegroup
- remove-lmservicetemplate
- set-lmservicegroup
Device groups
Section titled “Device groups”Commands for managing device groups and their properties
- get-lmdevicegroup
- get-lmdevicegroupalert
- get-lmdevicegroupdatasourcealertsetting
- get-lmdevicegroupdatasourcelist
- get-lmdevicegroupdevice
- get-lmdevicegroupgroup
- get-lmdevicegroupgroups
- get-lmdevicegroupproperty
- get-lmdevicegroupsdt
- get-lmdevicegroupsdthistory
- new-lmdevicegroup
- new-lmdevicegroupproperty
- new-lmdevicegroupsdt
- remove-lmdevicegroup
- remove-lmdevicegroupproperty
- set-lmdevicegroup
- set-lmdevicegroupdatasource
- set-lmdevicegroupdatasourcealertsetting
- set-lmdevicegroupproperty
Dashboards
Section titled “Dashboards”Commands for managing dashboards and widgets
- copy-lmdashboard
- export-lmdashboard
- find-lmdashboardwidget
- get-lmdashboard
- get-lmdashboardgroup
- get-lmdashboardwidget
- import-lmdashboard
- new-lmdashboardgroup
- remove-lmdashboard
- remove-lmdashboardgroup
- remove-lmdashboardwidget
Collector groups
Section titled “Collector groups”Commands for managing collector groups and their properties
Collectors
Section titled “Collectors”Commands for managing collectors and their configurations
- get-lmcollector
- get-lmcollectordebugresult
- get-lmcollectorinstaller
- get-lmcollectorversion
- invoke-lmcollectordebugcommand
- new-lmcollector
- remove-lmcollector
- set-lmcollector
- set-lmcollectorconfig
Website groups
Section titled “Website groups”Commands for managing website groups and their properties
- get-lmwebsitegroup
- get-lmwebsitegroupalert
- get-lmwebsitegroupsdt
- get-lmwebsitegroupsdthistory
- new-lmwebsitegroup
- remove-lmwebsitegroup
- set-lmwebsitegroup
Websites
Section titled “Websites”Commands for managing website monitoring and website groups
- get-lmwebsite
- get-lmwebsitealert
- get-lmwebsitecheckpoint
- get-lmwebsitedata
- get-lmwebsiteproperty
- get-lmwebsitesdt
- get-lmwebsitesdthistory
- new-lmwebsite
- remove-lmwebsite
- set-lmwebsite
User management
Section titled “User management”Commands for managing users, roles, and accounts
- get-lmapitoken
- get-lmrole
- get-lmuser
- get-lmusergroup
- invoke-lmuserlogoff
- new-lmapitoken
- new-lmapiuser
- new-lmrole
- new-lmuser
- remove-lmapitoken
- remove-lmrole
- remove-lmuser
- set-lmapitoken
- set-lmrole
- set-lmuser
- set-lmuserdata
Report groups
Section titled “Report groups”Commands for managing report groups and their properties
Reports
Section titled “Reports”Commands for managing reports and report groups
Cloud monitoring
Section titled “Cloud monitoring”Commands for managing cloud monitoring and cloud groups
- get-lmawsaccountid
- get-lmawsexternalid
- invoke-lmawsaccounttest
- invoke-lmazureaccounttest
- invoke-lmazuresubscriptiondiscovery
- invoke-lmcloudgroupnetscan
- invoke-lmgcpaccounttest
- set-lmawsdiscoverysettings
Cost optimization
Section titled “Cost optimization”Commands for viewing cost optimization recommendations
Netscan groups
Section titled “Netscan groups”Commands for managing netscan groups and their properties
Netscan
Section titled “Netscan”Commands for managing netscan and enhanced netscan
- get-lmnetscan
- get-lmnetscanexecution
- get-lmnetscanexecutiondevice
- invoke-lmnetscan
- new-lmenhancednetscan
- new-lmnetscan
- remove-lmnetscan
- set-lmnetscan
Logicmodules
Section titled “Logicmodules”Commands for managing logic modules and their properties
- export-lmlogicmodule
- get-lmappliestofunction
- get-lmconfigsource
- get-lmconfigsourceupdatehistory
- get-lmdatasource
- get-lmdatasourceassociateddevice
- get-lmdatasourcegraph
- get-lmdatasourcemetadata
- get-lmdatasourceoverviewgraph
- get-lmdatasourceupdatehistory
- get-lmdiagnosticsource
- get-lmeventsource
- get-lmlogsource
- get-lmlogicmodulemetadata
- get-lmpropertysource
- get-lmrepositorylogicmodule
- get-lmsysoidmap
- get-lmtopologysource
- import-lmexchangemodule
- import-lmlogicmodule
- import-lmlogicmodulefromfile
- import-lmrepositorylogicmodule
- new-lmappliestofunction
- new-lmdatasource
- new-lmdatasourcegraph
- new-lmdatasourceoverviewgraph
- new-lmdiagnosticsource
- new-lmlogicmodule
- remove-lmappliestofunction
- remove-lmconfigsource
- remove-lmdatasource
- remove-lmdiagnosticsource
- remove-lmlogsource
- remove-lmpropertysource
- remove-lmtopologysource
- set-lmappliestofunction
- set-lmconfigsource
- set-lmdatasource
- set-lmdiagnosticsource
- set-lmpropertysource
- set-lmtopologysource
- test-lmappliestoquery
Topology
Section titled “Topology”Commands for managing topology maps and topology groups
Commands for managing event logs and audit logs
- get-lmauditlog
- get-lmlogmessage
- get-lmlogpartition
- get-lmlogpartitionretention
- new-lmlogpartition
- remove-lmlogpartition
- send-lmlogmessage
- send-lmwebhookmessage
- set-lmlogpartition
- set-lmlogpartitionaction
Access groups
Section titled “Access groups”Commands for managing access groups and their properties
Commands for managing SDTs and their properties
Opsnotes
Section titled “Opsnotes”Commands for managing opsnotes and their properties
Push metrics
Section titled “Push metrics”Commands for managing push metrics and their properties
Configuration
Section titled “Configuration”Commands for managing global settings
- get-lmnormalizedproperty
- get-lmportalinfo
- new-lmnormalizedproperty
- remove-lmnormalizedproperty
- set-lmnewusermessage
- set-lmnormalizedproperty
- set-lmportalinfo
Additional utility commands