GithubHelp home page GithubHelp logo

lischach / repair-script-library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from azure/repair-script-library

0.0 0.0 0.0 102.83 MB

Organize and archive known repair scripts to enable anyone to easily fix their machines. The scripts are made primarily to repair VMs on the cloud.

License: MIT License

Shell 1.40% PowerShell 98.60%

repair-script-library's Introduction

Repair Script Library

The Repair Script Library organizes and archives known Windows and Linux repair scripts to automate frequent fix scenarios. Each repair script has a unique ID mapped on map.json

Run Scripts on Azure VM via Azure CLI

  1. Open Azure Cloud Shell (Or install Azure CLI manually)

  1. Install the vm-repair extension
az extension add -n vm-repair
  1. Run a script using its unique ID mapped on map.json
az vm repair run -g MyResourceGroup -n MyVM --run-id win-hello-world --verbose

When the VM is not bootable

  1. Create a repair VM to host the fix for a source VM's OS disk
az vm repair create -g MyResourceGroup -n MySourceVM --verbose
  1. Run a script on the repair VM to fix the attached source VM's OS disk (Don't forget the --run-on-repair parameter)
az vm repair run -g MyResourceGroup -n MyVM --run-id win-hello-world --run-on-repair --verbose
  1. Restore the fixed OS disk onto the source VM
az vm repair restore -g MyResourceGroup -n MySourceVM --verbose

Documentations

az vm repair -h
az vm repair <command> -h

Contributing

Adding new scripts: https://github.com/Azure/repair-script-library/blob/master/doc/adding_new_scripts.md

Contact: [email protected]

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.

repair-script-library's People

Contributors

malachma avatar haagha avatar rjmccallumbigl avatar swbae31 avatar microhack44 avatar cssmismi avatar alexandair avatar skris67 avatar microsoftopensource avatar microsoft-github-policy-service[bot] avatar msftgits avatar kippllo avatar

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.