Coder Social home page Coder Social logo

updatemanagement's Introduction

UpdateManagement

PowerShell examples for UpdateManagement

Using these scripts

These are samples intended for use with Update Management pre/post scripts.

Requirements

You will need:

updatemanagement's People

Contributors

mathieurietman avatar zjalexander avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mathieurietman

updatemanagement's Issues

Catch common errors

The following error conditions are commonly encountered and should be caught with an intelligible error message displayed to users:

  1. No RunAs account
  2. No ThreadJob module
  3. Modules out of date

Variable issue with Turnoff

@zjalexander

Does this still work in 2021?
I see the turn on feature works, turn off doesn't

Environments Context


{[AzureCloud, AzureCloud], [AzureChinaCloud, AzureChinaCloud], [AzureUSGovernment, AzureUSGovernment]} Microsoft.Azur...

No machines to turn off

Get-AutomationVariable : Variable not found. To create this Variable, navigate to the Variables blade and create a Variable named: PrescriptContext(numberredacted) Refer doc for more details (https://docs.microsoft.com/en-us/azure/automation/shared-resources/variables#create-and-get-a-variable) At line:86 char:13 + $variable = Get-AutomationVariable -Name $runId + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (:) [Get-AutomationVariable], AssetManagementClientException + FullyQualifiedErrorId : 3,Orchestrator.AssetManagement.Cmdlets.GetAutomationVariableCmdlet

Wait for VMs to start

VMs need a little bit of time to fully start after running Start-AzureRmVm . There should be a bit of a wait before kicking off the update deployment, potentially configurable?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.