24

Downloads

12

Downloads of 1.2

2018-05-10

Last published

New-ChangeReportEmail

1.2

This runbook generates a report of changes from the past week and emails it. Note: This script requires two modules:
the AzureRM.OperationalInsights module. In order for the script to work, both modules must first be imported into
the Automation account.

The major steps of the script are outlined below.

1) Define parsing function
2) Connect to the Azure account
3) Set the subscription context
4) Prepare email HTML
5) Define, run, and parse Log Analytics queries for the report
6) Send the email


Inspect

PS> Save-Script -Name New-ChangeReportEmail -Path <path>

Install

PS> Install-Script -Name New-ChangeReportEmail

Deploy

See Documentation for more details.

Release Notes

1.2 - 5/10/2018
-- EDITED BY Jenny Hunter
-- previous version was outdated and missed key bug fixes
1.1 - 5/9/2018
-- EDITED BY Jenny Hunter
-- modified to use the new Log Analytyics module in the AzureRM.OperationalInsights module
1.0 - 4/5/2018
-- CREATED BY Jenny Hunter
-- added base script to send email report and to include link to dashboard if AA info is provided

Owners

Authors

Azure Automation Team

Copyright

Microsoft Corporation. All rights reserved.

FileList

Show
  • New-ChangeReportEmail.nuspec
  • New-ChangeReportEmail.ps1
  • Tags

    Functions

    Dependencies

    Version History

    Version Downloads Last updated
    New-ChangeReportEmail 1.0 11 Thursday, April 05 2018