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


Show more

Installation Options

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

Install-Script -Name New-OnPremiseHybridWorker

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy 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

Owners

Package Details

Author(s)

  • Azure Automation Team

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

FileList

Version History

Version Downloads Last updated
1.7 (current version) 125,546 6/22/2020
1.6 15,113 4/19/2019
1.4 1,244 1/5/2018
1.3 630 8/7/2017
1.2 317 4/15/2017
1.1 277 11/22/2016
1.0 2,143 11/22/2016
Show more