OMSDataInjection PowerShell Module Updated

less than 1 minute read

I’ve just pushed a small update to my old OMSDataInection PowerShell module. This module is designed to send custom logs to a Log Analytics workspace via its HTTP Data Collector API. The last update was back in 2016, when it was still called OMS.

In this version (v1.3.0), I’ve added an additional optional input parameter to allow users to add an Azure Resource Id to the log entry. This is required when the workspace is configured to use resource-context RBAC model. By specifying a valid Azure Resource Id, the user can control who has access to the log entry. This is explained in Microsoft’ docs:

This module is available on PowerShell Gallery:

and GitHub:

Leave a comment