New-OnPremiseHybridWorker

1.7

This Azure/OMS Automation runbook onboards a local machine as a hybrid worker.This script has been updated to use Az modules. Version 1.6 is using AzureRM modules. NOTE: This script is
intended to be run with administrator privileges and on a machine with WMF 5.

The major steps of the script are outlined below.
1) Install the necessary modules
2) Login to an Azure a
This Azure/OMS Automation runbook onboards a local machine as a hybrid worker.This script has been updated to use Az modules. Version 1.6 is using AzureRM modules. NOTE: This script is
intended to be run with administrator privileges and on a machine with WMF 5.

The major steps of the script are outlined below.
1) Install the necessary modules
2) Login to an Azure account
3) Check for the resource group and automation account
4) Create references to automation account attributes
5) Create an OMS Workspace if needed
6) Enable the Azure Automation solution in OMS
7) Download and install the Microsoft Monitoring Agent
8) Register the machine as hybrid worker


Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name New-OnPremiseHybridWorker

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deloy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Author(s)

Azure Automation Team

Owners

Tags

Azure Automation

Dependencies

This script has no dependencies.

Release Notes

1.6 - 11/15/2018
-- MODIFIED BY Alexander Zabielski
-- Updated the parameters to accept a TenantID to pass to the connection params.
1.5 - 5/29/2018
-- MODIFIED BY Jenny Hunter
-- updated use of New-AzureRmOperationInsightsWorkspace cmdlet to user the "PerNode" SKU
1.4 - 1/5/2018
-- MODIFIED BY V-JASIMS TO FIX RESOURCEGROUP BUG 01/02/2018
-- added param $OMSResourceGroupName - specify OMS resource group if using an existing OMS workspace
-- APPROVED BY Jenny Hunter
1.3 - 8/7/2017
-- MODIFIED BY Jenny Hunter
-- updated to account for new region support
1.2 - 7/18/2017
-- MODIFIED BY Peppe Kerstens at ITON
-- corrected wrong type assignment
-- added credential support
-- APPROVED BY Jenny Hunter

Version History

Version Downloads Last updated
1.7 (current version) 1,857 6/22/2020
1.6 14,623 4/19/2019
1.4 1,183 1/5/2018
1.3 585 8/7/2017
1.2 283 4/15/2017
1.1 240 11/22/2016
1.0 1,479 11/22/2016